|
i need script that record audio and video of the user and give me the uploaded file link
any client side like flash or jquery is good even php script
|
|
|
|
|
Hi friends :
when I change alias and directoy in httpd.conf file in wampserver 2.4 as below and restart all services its Icon become yellow !
what should I do?
thanks.
Alias /myText/ "C:/myText/"
Alias /myText "C:/myText"
<Directory "C:/myText/">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
|
|
|
|
|
Hi,
I'm creating a calendar linked with google. It’s only to view a club agenda.
The calendar itself works but the google part has not completely.
$link='https://www.google.com/calendar/feeds/amsacgent%40gmail.com/private-mijncode/basic?hl=nl';
$calendar = simplexml_load_file($link);
The hl=nl part is for my language.
Without additional parameters I have the recurrent items only once, the first time.
This is what I have tried
singleevents=true: I have some future items but they are in the far future 2027 but none for the current year.
start-min='.$j.'-01-01T00:00:00-00:00&start-max='.($j+1).'-01-01T00:00:00-00:00': no recurrent items
$j this year. I can also add the month is necessarily
I found this link for the parameters.
Will someone help me
thx
Jan
Here you kan see a demo
|
|
|
|
|
Is there really nobody who can help?
|
|
|
|
|
Hi,
thanks for that info, but how do I contact Atechnocrat.
Maybe you can tell me what was your solution; same problem ==> same solution I think
Jan
|
|
|
|
|
He's a spammer - ignore him, it'll be gone soon...as will his account.
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
<?php $f=ftp://username:password@ftp.example.com/filepath";
$f = fopen($f, 'r');
while($row = fgets($f)) {
echo $row;
}
|
|
|
|
|
how to insert excel data into phpmyadmin database using a query
|
|
|
|
|
Member 10551305 wrote: phpmyadmin database Never heard that kind of DB...
You talk about MySQL I assume. In phpmyadmin you can import only csv files - so you have to export your excel first t ocsv and than import using phpmyadmin into MySQL...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
hi,
I read this article:
http://www.yorkstreetlabs.com/blog/Publish-to-Your-Facebook-Pages-Wall-with-PHP
I want to ask about step-1 (Request User Authorization Code From Facebook)
How can I do it the background so I can retrieve the code generated without showing the process and the header redirection to the user?
Thanks
Jassim
Technology News @ www.JassimRahma.com
|
|
|
|
|
The point of that step is to ask the user if they want to allow access, so you really shouldn't try to hide it from them.
|
|
|
|
|
Hi,
I am using the following code to publish a post to Facebook using PHP. I only have one problem left... I want to know how can I obtain an access-token for my page before publishing the post as access-tokens are not permanent.
<?php
class PublishOnFacebook
{
function status_update($status_text)
{
require_once("facebook/facebook.php");
$config = array();
$config['pageId'] = 'xxxxxxxxxx';
$config['appId'] = 'yyyyyyyyyy';
$config['secret'] = 'zzzzzzzzzzzzz';
$config['fileUpload'] = false;
$fb = new Facebook($config);
$params = array(
"access_token" => $config['appId'] . "|" . $config['secret'],
"message" => $status_text,
"link" => "http://www.pontikis.net/blog/auto_post_on_facebook_with_php",
"picture" => "http://i.imgur.com/lHkOsiH.png",
"name" => "How to Auto Post on Facebook with PHP",
"caption" => "www.pontikis.net",
"description" => "Automatically post on Facebook with PHP using Facebook PHP SDK. How to create a Facebook app. Obtain and extend Facebook access tokens. Cron automation."
);
try
{
$ret = $fb->api('/xxxxxxxxxx/feed', 'POST', $params);
echo 'Successfully posted to Facebook';
}
catch(Exception $e)
{
echo $e->getMessage();
}
}
}
?>
Technology News @ www.JassimRahma.com
|
|
|
|
|
Why not ask at Facebook[^]?
Veni, vidi, abiit domum
|
|
|
|
|
Hi
I'm having a weird situation here.
I'm trying create a PDO object, like this:
$dbh = new PDO('mysql:host='.$hostname.';dbname='.$dbname,$username, $password);
I have rewriting ON in my .htaccess file. when I try to run the script using a URL that will trigger a rewrite rule, it shows me the following error:
Fatal error: Class 'PDO' not found
I have a exception rewrite rule for a directory where the script is, named PHP, like this:
RewriteRule ^(php)($|/) - [L]
if I run the scripting directly from the directory, it runs normally with no erros.
I don't know why this is happening. any clues?
Thank you
|
|
|
|
|
just adding some info:
the problem can be seen in the following URLs
the rewrited one (where the problem occur)
www.qualocep.com/dbc/
and the direct file, when it works
www.qualocep.com/php/dbc.php
I put a phpinfo() the to show more info about the server.
|
|
|
|
|
Solve it.
There was an empty php.ini in the public_html, I deleted it, and it worked.
thank u all
|
|
|
|
|
Hi,
I am using arabic web font and it's working perfect on Chrome and Safari but not in IE?
@font-face {font-family: "Kufi"; src: url('font/DroidKufi-Regular.ttf') ;}
How can I fix it please?
Thanks
Technology News @ www.JassimRahma.com
|
|
|
|
|
|
Hi,
I have a PHP page with cboindustry <select> item. I am doing the following to check if <select> has an entry then it will run the stored procedures:
if ($_POST['cboIndustry'])
{
foreach ( $_POST['cboIndustry'] as $key => $value )
{
$mysql_query = $mysql_connection->prepare('CALL sp_add_new_company_industry(:param_member_guid, :param_company_guid, :param_company_industry, :param_created_ip_address)');
$mysql_query->bindParam(':param_member_guid', $_SESSION["xoompage_member_guid"], PDO::PARAM_STR);
$mysql_query->bindParam(':param_company_guid', $company_guid, PDO::PARAM_STR);
$mysql_query->bindParam(':param_company_industry', $value, PDO::PARAM_STR);
$mysql_query->bindParam(':param_created_ip_address', $_SERVER['REMOTE_ADDR'], PDO::PARAM_STR);
$mysql_query->execute();
}
}
but I am getting the following error:
PDO Exception Caught. Error with the database:
SQL Query: Code: HY000 Error: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'param_company_industry' at row 1SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'param_company_industry' at row 1
here is my var_dump of the cboIndustry:
array(1) { [0]=> string(0) "" }
and here is the html:
<tr>
<td valign="middle">Industry</td>
<td valign="middle">:</td>
<td valign="middle">
<div id="container">
<select id="cboIndustry" name="cboIndustry[]" style="width: 80%" <?php if (!$_GET["id"]) { ?>required<?php } ?>>
<option value="" selected>[Industry..]</option>
<?php
$mysql_command = "CALL sp_populate_industry()";
$mysql_query = $mysql_connection->prepare($mysql_command);
$mysql_query->execute();
while($mysql_row = $mysql_query->fetch())
{
?>
<option value="<?php echo $mysql_row['industry_id']; ?>"><?php echo $mysql_row['industry_name']; ?></option>
<?php } ?>
</select>
<button id="btnAddIndustry" type="button" style="width:150px">Add More</button>
</div>
</td>
</tr>
Technology News @ www.JassimRahma.com
|
|
|
|
|
According your error the problem is that $value is not numeric (empty)...
|
|
|
|
|
I am trying to add html5 video tag element in my website, video is working fine in FIREFOX , CHROME , IE11 but it is not working in safari, opera.
Code i have used is
<video loop="loop" autoplay="autoplay" preload="none">
<source src="video/video1.mp4" type="video/mp4"></source>
</video>
More over i tried with html5easy editor tool to convert to get .ogg format still i am facing the same problem.
Thanks
modified 10-Jan-14 1:58am.
|
|
|
|
|
|
Hi,
I changed my wodrpress URL manually and after then i saved and loged out from admin panel . now i can't login to my wordpress Admin page after changing The URL 's and whenever i want to log in it redirects to other page that i changed in URL . now i can't login to Admin page to correct URL's . what should i do to solve this problem .
Thanks so much ,
D.riazi
|
|
|
|
|
Contact Wordpress and ask for help.
Veni, vidi, abiit domum
|
|
|
|
|
I don't have any access to server and database .
Is there any other solution for solving this issue ?
D.riazi
|
|
|
|