RE: [PHP] $_FILES empty, trouble with uploading

2009-03-05 Thread Karl St-Jacques
with uploading yes,I agree with Ash ,you can test it on a local testing server or the other server. if it work ,then you can sure it's environment problem. 2009-03-05 zhoo 发件人: Ashley Sheridan 发送时间: 2009-03-05 04:10:02 收件人: Karl St-Jacques 抄送: php-general 主题: Re:

[PHP] Shopping Cart

2009-05-16 Thread Vernon St Croix
Hi, I am pretty new to PHP and I am trying to create a shopping cart. I keep on getting the below error when trying to show the shopping list. Any guidance that can be provided will be very much appreciated Fatal error: Call to a member function query() on a non-object in C:\wamp\www\draft\b

Re: [PHP] Shopping Cart

2009-05-16 Thread Darrel St Croix
= mysql_fetch_array($result)){ $output[] = ''.$row['name'].': £'.$row['price'].'Add to Cart'; } $output[] = ''; echo join ('', $output); ?> Many Thanks Vee 2009/5/16 Ashley Sheridan > On

[PHP] Check out system for Shopping Cart

2009-05-21 Thread Vernon St . Croix
Can you please help with my checkout script. I have been getting errors as shown below: Warning: mysqli_query() expects parameter 1 to be mysqli, object given in C:\wamp\www\draft\checkout.php on line 26 Warning: mysqli_affected_rows() expects parameter 1 to be mysqli, object given in C:

[PHP] Display Image

2009-05-25 Thread Vernon St . Croix
I am trying to send images to my browser using the header function, but keep on getting 'No image Available'. Can someone please help!! _ View your Twitter and Flickr updates from one place – Learn more! http://clk.atdmt.com/UKM/go/

Re: [PHP] getting filenames from dir

2005-04-01 Thread Mario St-Gelais
That should get you started : $dirname='/var'; $dh=opendir($dirname) or die('could not open directory'); while (!(($file=readdir($dh))===false)){ if (is_dir('$dirname/$file')){ $myarray[]=$file; } echo "$file"; $myarray[]=$file; } Mario Merlin wrote: Hi there, does anybody know h

[PHP] trouble uploading more than 500 bytes...

2008-10-11 Thread Karl St-Jacques
Hello, I have trouble uploading files to a server. Actually I can't upload more than 500 bytes or so. Here's a quick print_r of the $_FILES [_FILES] => Array( [avatar] => Array ([name] => index.html[type] => text/html[tmp_name] => /tmp/phpRbmXK5[error] => 0[size] =>

RE: [PHP] trouble uploading more than 500 bytes...

2008-10-12 Thread Karl St-Jacques
> > Hello, > > > > I have trouble uploading files to a server. Actually I can't > > upload more than 500 bytes or so.> > > > Here's a quick print_r of the > > $_FILES > > > > [_FILES] => Array( [avatar] => Array ( [name] => index.html > > [type] => text/html [tmp_name] => /tmp/phpRbmXK5 [error]

<    1   2