I just installed mysql 5.0 and newest phpmyadmin and get:
PHPMyAdmin #1045 - Access denied for user 'root'@'localhost' (using password: YES)
From a command line i did mysql -u root -p and...
I have a file, which I am putting in a variable called $FileResults. It looks Like This:
ID,Name,FName,LName,Email
23,John Smith, John,Smith,johnsmith@somewhere.com
45,Jane Doe, Jane, Doe, ...
hi,
I have a web site and I need a routine in php or javascript (or whatever) to perform a check if the macromedia flash player is installed on the computer (specially flash mx) if not inst...
I am running Rhel5 and have PHP515 installed in /opt/sugarcrm/php.
I downloaded libmcrypt and mcrypt from sourceforge:
mcrypt-2.6.7.tar.tar
libmcrypt-2.5.8.tar.tar
I believe I have all...
Hello, what function I can use to convert "09" to integer 9
Thanks.
What's an efficient way to format a number to at least 2 decimal places in PHP?
For example,
2.85 = 2.85
3.90 = 3.90
5.080 = 5.08
5.9987 = 5.9987
3 = 3.00
.4 = 0.40 (not...
I'm looking for a way in PHP to delete all files in a folder that are older than X days.
I have a temp folder and would like to run this script each time a particular PHP page is called so ...
I have a content management page written in PHP with data from mySQL. My customer edits inventory on this page. They upload pictures, pricing information, etc. One of the fields they are al...
I do not understand this PHP error:
Catchable fatal error: Object of class JavaScriptPacker could not be converted to string on line 825
I use PHP5
I use the following PHP class to remove all whitespace and comments from my JavaScript. It also provides encryption but I do NOT want the encryption, just the fluff stripper.
Can you pleas...
Hey,
I'm not sure how difficult this but I have an array and would like to put it into and html table.
I need to have two array strings per row, so if this were the array:
$array1 = ar...
Hello,
I'm getting an error as "PHP Fatal error: Cannot use string offset as an array .... line 42"
The line is as following:
$sql_query = "REPLACE INTO user_tbl (user_id, aff_id, i...
$result2 = "SELECT SUM((xs + s + m + l + ll) * price) AS pototal FROM poitem WHERE poid = '" . $_GET['poid'] . "'" or
die("your code sucks " . mysql_error());
$row2 = mysql_query(...
Hello
In my php file
----------------------------
// company 1
<form method=post action="doform.php" onSubmit = varify (?,? )
<input type="checkbox" name="companyName[]" value='$comp...
Hi,
I would like to know if anyone has successfully used either of these 2 to access GMAIL via IMAP:
Gmail Lite: http://gmail-lite.sourceforge.net/wordpress/
Roundcube: http://roundcube...
I have an Apache server running on a Linux OS and when I try to mkdir() using PHP to my /var/www/html/dotproject/files directory I get the following error message :
[client 172.16.0.234] PHP ...
Dear all,
An ever increasing headache has ended with a cry and a desperate need for help from you guy's!! I need help with an upload and resize feature within my site.
I have provided al...
Hi,
I have developed a small web service that takes two arguments and then it performs an XSLT transformation over XML and should return the result to a client which will just display it fo...
I have completed a PHP web project which involves regular visitors and an administrator who controls the show.
One of the things requested for the administrator only (i.e behind a password)...
I have a problem I need some serious help/advice on.
Here's the scenario. I have a form with several text areas. One of these text areas allows users to enter HTML, and the rest do not. The...
Hi,
I'm looking for a reliable solution for converting Word and Excel files to PDF using only PHP (if one exists). The only way I can think of doing it, is to have a non-shared web server w...
Hello,
In a php file, i have several check boxes:
<form action='doForm.php'>
<input type='checkbox' name='compName' value='ABC'>
<input type='checkbox' name='compName' value='BBC'>
<...
Hi all,
Im using cURL to log into a website and then store a session cookie.
Is there a way I can access that session cookie from another PHP script (in the same dir etc.) Ive tried:
$...
Whats the easist way to check if a folder exists and create it if it doesn't?
PHP4/IIS5/Windows 2000
Hello,
I have a client that needs the back button disabled. I'm using windows and IE, but want to accomodate as many browsers and OSs as possible. I'm currently using a JavaScript solution,...