Re: [PHP] How do I Resize an image?

2002-01-30 Thread Bryan Gintz
For Linux (Unix) you can get a tool called imagemagik (not sure of spelling) and do a system call to it from a php script. Bryan Francis Cronjé wrote: I am new to php and wd appreciate any help! I have been through the manual, but have found no solution: 1.How do I resize an image retrieved

[PHP] Tables Loading Slow

2002-01-30 Thread Bryan Gintz
Hi. I have a large database query that returns anywhere from 10-30ish records. The problem comes from loading them in tables. With IE5 and Netscape 5 on windows, the results do not display until the last /table tag is written. Does anyone have any ideas on how to show the results as the

[PHP] Page Not Found - on IE

2002-01-30 Thread Bryan Gintz
Sometimes with certain PHP scripts, when a form is posted to another PHP script, IE says the page cannot be found. It seems to happen randomly, and if you refresh a couple times, you can then load the page. Any ideas on why, and how to fix it? Thanks, -- PHP General Mailing List

Re: [PHP] Redirect problem.... UGH!!

2002-01-30 Thread Bryan Gintz
Try it with JavaScript (a very nice supplement to PHP sometimes ) ? print SCRIPT\n; print document.location=\index.html\;\n; print /SCRIPT\n; ? Ben Turner wrote: I am trying to put together a very simple redirect from php. all it is supposed to do is pull down the $p var and ship the user off

[PHP] MySQL Fetch_Array VS. Fetch_Object

2002-01-30 Thread Bryan Gintz
Does anyone know what the pros and cons of using mysql_fetch_object vs. mysql_fetch_array. I find it easier to use the object version because you dont have to code any extra statements to put them into regular variables. print $obj-field_name; as opposed to $field_name = $row[field_name];

Re: [PHP] Re: Page Not Found - on IE

2002-01-30 Thread Bryan Gintz
Sorry, The page cannot be displayed DNS Error Mike Frazer wrote: Page not found (error 404) or Page cannot be displayed (a DNS error, as stated at the bottom of the screen)? I've seen the latter of the two countless times, only in IE. Mike Frazer Bryan Gintz [EMAIL PROTECTED] wrote

Re: [PHP] Re: Page Not Found - on IE

2002-01-30 Thread Bryan Gintz
at the bottom of the screen)? I've seen the latter of the two countless times, only in IE. Mike Frazer Bryan Gintz [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Sometimes with certain PHP scripts, when a form is posted to another PHP script, IE says

[PHP] Re: [PHP-DB] Select statement only returns 1 record

2002-01-30 Thread Bryan Gintz
I don't know if this will help, and it begs an answer from my earlier question. But here is an easy way to fill a drop-down (?) box with a mysql_query. $sql=SELECT * FROM webl_players ORDER BY $sortby; $result=mysql_query($sql,$db); print select name=\canidate\; while($obj =

Re: [PHP] MySQL Fetch_Array VS. Fetch_Object

2002-01-30 Thread Bryan Gintz
Personal preference, and all my code is written with that so far, but seeing about the speed issue, that might change. Thanks. Jim Lucas [php] wrote: oh and mysql_fetch_object is a little slower then mysql_fetch_array() Jim Lucas - Original Message - From: Bryan Gintz [EMAIL

Re: [PHP] Re: Page Not Found - on IE

2002-01-30 Thread Bryan Gintz
It does now, but supposedly, it still doesn't work. I tried to force it to look for refresh by making the form action call the script with a unique id Nick Wilson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Mike Frazer blurted I have no idea what may work as a

Re: [PHP] Re: Page Not Found - on IE

2002-01-30 Thread Bryan Gintz
It was was just the script: form name=junk action=script.php method=POST The script was there, and it would work if you refreshed it a bunch, but then it would give page could not display error ?? Nick Wilson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Bryan Gintz

[PHP] Mail stopped working - Somewhat Urgent

2002-02-07 Thread Bryan Gintz
All of a sudden Mail through PHP just stopped working, we can do it through the command line, but refuses to work in PHP. Any ideas? Thanks, Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Error Loading File

2002-06-11 Thread Bryan Gintz
I am getting this error with a new install of PHP4.2.1 and Zend Optimizer 1.3.1: The file '/tmp/phpr4WYQY' must be in the database directory or be readable by all I just updated PHP and the Zend Optimizer, and it had worked previously with PHP4.1.2, Any ideas?? Thanks -- PHP General