[PHP] Power failure = php failure: HELP!

2004-09-15 Thread Justin Rietz
I am running Apache. Xoops, and Squirrelmail on a Fedora 2 server. I recently had a power failure - my daughter turned off my power strip :-( The network card was fried. Anyway, PHP does not seem to be working now. Apache serves static html pages fine, squirrelmail loads in the browser but

[PHP] Submitting info from a form to a db

2004-09-15 Thread Logan Moore
heres the code, but im getting an error ? mysql_query(INSERT INTO `users`(fullname, email, username, password) VALUES ('.$_POST['fullname'].', '.$_POST['email'].', '.$_POST['username'].', '.md5($_POST['password'].')); ? This time I dont have a clue whats happening -- PHP General Mailing List

Re: [PHP] Submitting info from a form to a db

2004-09-15 Thread raditha dissanayake
Logan Moore wrote: heres the code, but im getting an error and the error is? ? mysql_query(INSERT INTO `users`(fullname, email, username, password) VALUES ('.$_POST['fullname'].', '.$_POST['email'].', '.$_POST['username'].', '.md5($_POST['password'].')); ? This time I dont have a clue whats

Re: [PHP] Power failure = php failure: HELP!

2004-09-15 Thread raditha dissanayake
Justin Rietz wrote: I am running Apache. Xoops, and Squirrelmail on a Fedora 2 server. I recently had a power failure - my daughter turned off my power strip :-( The network card was fried. Anyway, PHP does not seem to be working now. Apache serves static html pages fine, squirrelmail loads in

[PHP] Re: Submitting info from a form to a db

2004-09-15 Thread Niklas Lampén
First: Post the error code when you get one. Second: Split the code into pieces/rows to find errors. -- CODE -- ? mysql_query( INSERT INTO `users` ( fullname, email, username, password ) VALUES ( ' . $_POST['fullname'] . ', ' . $_POST['email'] . ', ' .

[PHP] Re: =?unknown?b?ztK5q8u+09C/7MvZvu3DxaOsv+zL2czhyf3DxaOsuaTStcjtw8WjrLj31tbI7aOs07JQVkPNuMP3sOWjrLSwwbEsy9zBz8a/sMu088+1wdA=?=

2004-09-15 Thread L-Soft list server at LISTS.NAU.EDU (1.8d)
ÎÒ¹«Ë¾ÊÇÒ»¼Ò¾ßÓÐÊ®¶àÄêµÄÀúÊ·ºÏ×ÊÆóÒµ£¬¹«Ë¾²úÆ·ÒÑÐγɾíÃÅ£¬¿ìËÙÌáÉý Unknown command - ÎÒ¹«Ë¾ÊÇÒ»¼Ò¾ßÓÐÊ®¶ÀÄʵÄÀÚÊ·ºÏ×ÊÆÓÒµ£¬¹«Ë¾²ÚÆ·ÒÑÐγɾÍÃÅ£¬¿ÌËÙÌÁÉÝ. Try HELP. ÃÅ£¬¹¤ÒµÈíÃÅ£¬¸÷ÖÖÈí£¬Ó²PVC͸Ã÷°å£¬´°Á±,ËÜÁÏÆ¿°Ë´óϵÁУ¬ÉÏ°ÙÖÖ¹æ¸ñ¼°²úÆ·¡£

[PHP] OT how to create a transparent watermark in png with photoshop

2004-09-15 Thread Fernando Gutierrez
i'm trying to do a watermark to use gd support from php in adobe photoshop , but always my watermark image show white border (i test with 8-bit , alpha chanel , 24-bit). Anyone can explain to me to do this correctly. Thanks in advance -- -- Fernando Gutierrez Perez -- gmeileando un poco :) --

Re: [PHP] Capturing an Image of a web page

2004-09-15 Thread john
Has anyone run across a tool available to PHP that can render an image of a entire webpage from a URL, so that it can be reduced to a thumbnail and stored in a database? I'm sure this has been discussed and solved on/in TheList (Evolte) but I've just searched the archive and not found it.

[PHP] PHP frontend

2004-09-15 Thread Sagar C Nannapaneni
Hi there, I wonder whats this PHP forntend is? Is this diff from the PHP we work with regularly? If any one could suggest some articles on thisit wud b greatly apprecieated Thanks,, /sagar

Re: [PHP] something like an SID

2004-09-15 Thread Chris Dowell
Try this: http://uk.php.net/output_add_rewrite_var Dennis Gearon wrote: You make a good point, Marek. They CAN open a new window with different results. Maybe it's up to each page to keep track of where it is at, via form elements alone, instead of through session values. Hadn't thought of

Re: [PHP] Submitting info from a form to a db

2004-09-15 Thread Stephan Fiedler
Hi Logan, 1stly My cristall ball tells me it's an unexpected ; expected was a ) here. .md5($_POST['password']).')); ---^ 2ndly. Please Submit the error you get. 3rdly. check posted values before inserting them into db. Have a nice day Stephan [oops, 1st time sent it went to the

[PHP] problem compailing php-4.3.6 please help !!!!!

2004-09-15 Thread Juan Fernandez
Hi, I am installing php-4.3.6 on Fedora, When I am compiling I receive the following error : [EMAIL PROTECTED] php-4.3.6]# make install Installing PHP SAPI module: apache2handler /www/build/instdso.sh SH_LIBTOOL='/www/build/libtool' libphp4.la /www/modules /www/build/libtool

Re: RE: [PHP] convert degrees to heading

2004-09-15 Thread Dave Restall - System Administrator,,,
Hi Trevor, Very nice solution, Dave. I like simple, elegant and effective solutions like this. I was wracking my brain yesterday to come up with something like this, but my brain wasn't working. Hah. Good job! Thanks for the compliments - my head is now a bit bigger :-) I thought 0

Re: [PHP] Capturing an Image of a web page

2004-09-15 Thread Chris Dowell
You can try this: http://open.thumbshots.org/image.pxf?url=http://www.php.net But I'm not sure how useful it will be to you - it's a database of thumbnails, not a tool to dynamically generate them. [EMAIL PROTECTED] wrote: Has anyone run across a tool available to PHP that can render an image of

Re: [PHP] Power failure = php failure: HELP!

2004-09-15 Thread Markus Mayer
I had a similar problem myself 1 1/2 weeks ago when my system locked up through an IDE bus lock up after 560 days uptime (system still ran, but no access to anything on the IDE drives, scsi was ok). There was significant file system damage, which for me took out my web pages, MySQL, a number

Re: [PHP] Submitting info from a form to a db

2004-09-15 Thread dirk
Try it with escaped qutation marks (\) ? mysql_query(INSERT INTO `users`(fullname, email, username, password) VALUES (\.$_POST['fullname'].\, \.$_POST['email'].\, \.$_POST['username'].\, \.md5($_POST['password'].\)); ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] gmp precision

2004-09-15 Thread El Santo
hi there i'm trying to use gmp functions to compute a square root i need the decimal part, but the gmp functions, at least afaik, implemented in php only return the integer part... i found no way to get this with gmp... i used bcmath functions for that, but i found they are 15 to 20

Re: [PHP] Submitting info from a form to a db

2004-09-15 Thread Stephan Fiedler
Hi Dirk, dirk wrote: Try it with escaped qutation marks (\) This is completely wrong here, because mysql doesn't understand those marks(). The string delimiter in mysql (in sql in general) is ' (http://dev.mysql.com/doc/mysql/en/index.html) Grusz Stephan -- PHP General Mailing List

[PHP] Help with fwrite()

2004-09-15 Thread Nick Wilson
Hi all, Im trying to delete a line from a file after having first read the line. The file contains a list or urls, one per new line: like this: urls.txt http://example.com/somedir/ http://www.example.com/page.php?name=Nick+W Here's what I have so far: ?php $file = 'urls.txt'; $f =

Re: [PHP] Help with fwrite()

2004-09-15 Thread Nick Wilson
* and then Nick Wilson declared Hi all, Im trying to delete a line from a file after having first read the line. The file contains a list or urls, one per new line: like this: BTW, reading the file into an array, shifting off the first element and rewriting isnt a good option for me

Re: [PHP] if syntax using multiple conditions

2004-09-15 Thread Brian Anderson
Thanks! And, *wow* yes I just did try php2asp. Pretty good translation, although a few things need adjusting, it seems to do a remarkable job. I'll definitely have to play with it some more. :) -Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Security - Semi OT

2004-09-15 Thread John Nichel
Chris Shiflett wrote: 2. I value my time, so I'm not cheap. :-) So much for all those rumors I've been hearing. ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php - no results - display other message

2004-09-15 Thread John Nichel
Dustin Krysak wrote: Hi there... I have a simple search page (mysql database), and I can get it to display the results no issues, but i was wondering how I could display a message stating there were no results, instead of just having the field blank. I am familiar with IF and ELSE statements,

[PHP] problem compailing php-4.3.6 please help !!!!!

2004-09-15 Thread Juan Fernandez
Hi, I am installing php-4.3.6 on Fedora, When I am compiling I receive the following error : [EMAIL PROTECTED] php-4.3.6]# make install Installing PHP SAPI module: apache2handler /www/build/instdso.sh SH_LIBTOOL='/www/build/libtool' libphp4.la /www/modules

RE: [PHP] OK ... WHY does this work ?????

2004-09-15 Thread Gryffyn, Trevor
Read over some of the examples at: http://us4.php.net/types.array If you don't set a key, PHP starts with '0' and increments as you add more elements to the array. If you have NOTICEs turned on, I believe you'll get a notice saying that $arrlevels[99] doesn't exist. It's not a fatal error, so

Re: [PHP] Security - Semi OT

2004-09-15 Thread John Holmes
From: John Nichel [EMAIL PROTECTED] Chris Shiflett wrote: 2. I value my time, so I'm not cheap. :-) So much for all those rumors I've been hearing. ;) Yeah, sorry. I'll stop spreading them now. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Image question

2004-09-15 Thread Gryffyn, Trevor
Jason Paschal posted this link a while ago, regarding storing and retriving images from MySQL: http://www.dailymedication.com/modules.php?name=Forumsfile=viewtopict= 15 -TG -Original Message- From: Ed Lazor [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 14, 2004 8:44 PM To:

Re: [PHP] Help with fwrite()

2004-09-15 Thread John Holmes
From: Nick Wilson [EMAIL PROTECTED] Im trying to delete a line from a file after having first read the line. The file contains a list or urls, one per new line: like this: [snip] fwrite($f, '', strlen($url2use)); // Where is the gotha? Hmmm... how can you write an empty string with a length? If

Re: [PHP] something like an SID

2004-09-15 Thread Dennis Gearon
Just what the doctor ordered! Thanks Chris. Chris Dowell wrote: Try this: http://uk.php.net/output_add_rewrite_var Dennis Gearon wrote: You make a good point, Marek. They CAN open a new window with different results. Maybe it's up to each page to keep track of where it is at, via form elements

Re: [PHP] Help with fwrite()

2004-09-15 Thread John Nichel
John Holmes wrote: From: Nick Wilson [EMAIL PROTECTED] Im trying to delete a line from a file after having first read the line. The file contains a list or urls, one per new line: like this: [snip] fwrite($f, '', strlen($url2use)); // Where is the gotha? Hmmm... how can you write an empty string

Re: [PHP] php - no results - display other message

2004-09-15 Thread Chris Dowell
Or alternatively $result = mysql_query(SELECT * FROM tablename); if (mysql_num_rows($result)) { while ($row = mysql_fetch_row($result)) { // display results } } else echo No results; Hope this helps Cheers Chris John Nichel wrote: Dustin Krysak wrote: Hi there... I have a simple search page

[PHP] Removing strange chars from array (or string)

2004-09-15 Thread Zoran Lorkovic
Hi Well, when parsing html page data I want to save is saved in txt file. But when saving in txt file I got some strange chars like small square (this I see when open in NotePad). When I try to open in WordPad this strange chars (squares) are recognized as new lines so in my file I got many

[PHP] Refresh page with frames...

2004-09-15 Thread Andre
Hello How can I refresh a page with frames, I use the code below but don't it doesn't work Can I refresh a page with frames with this code? echoMETA HTTP-EQUIV=javascript:top.Refresh CONTENT='0;URL=http://localhost'; Thank's

Re: [PHP] Refresh page with frames...

2004-09-15 Thread John Holmes
From: Andre [EMAIL PROTECTED] How can I refresh a page with frames, I use the code below but don't it doesn't work Right click - Refresh Frame ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Refresh page with frames...

2004-09-15 Thread John Nichel
Andre wrote: Hello How can I refresh a page with frames, I use the code below but don't it doesn't work You can't with PHP. But I'm betting that if you Google, you'll find some info on JavaScript. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List

Re: [PHP] Removing strange chars from array (or string)

2004-09-15 Thread John Holmes
From: Zoran Lorkovic [EMAIL PROTECTED] Well, when parsing html page data I want to save is saved in txt file. But when saving in txt file I got some strange chars like small square (this I see when open in NotePad). [snip] Am I missing something? You forgot to post your code. If you're only using

Re: [PHP] Removing strange chars from array (or string)

2004-09-15 Thread Chris Dowell
Zoran Sounds like your problem is with line endings - your unix (i presume) box ends its lines with a newline (\n) Windows ends lines with a carraige return followed by a newline (\r\n or CRLF) Notepad doesn't recognise a newline on its own as either a valid character or a valid line ending,

Re: [PHP] Help with fwrite()

2004-09-15 Thread Nick Wilson
* and then John Nichel declared John Holmes wrote: You can't just remove part of a file like you remove part of a string. You'll need to read (eventually) the entire file and only write back what you want to keep. Now, you said this could be a very large file, so you don't want to

Re: [PHP] php - no results - display other message

2004-09-15 Thread John Holmes
From: Chris Dowell [EMAIL PROTECTED] Or alternatively $result = mysql_query(SELECT * FROM tablename); if (mysql_num_rows($result)) { while ($row = mysql_fetch_row($result)) { // display results } } else echo No results; bah... you're wasting precious resources on a mysql_num_rows call... ;)

Re: [PHP] something like an SID

2004-09-15 Thread John Holmes
Subject: Re: [PHP] something like an SID Anyone else read that as something like an STD ?? and thought we were getting more spam to the list!?!? ;) ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] something like an SID

2004-09-15 Thread Chris Dowell
Perhaps it's something Freudian to do with your chequered past Just a thought :) John Holmes wrote: Subject: Re: [PHP] something like an SID Anyone else read that as something like an STD ?? and thought we were getting more spam to the list!?!? ;) ---John Holmes... -- PHP General Mailing List

[PHP] Bug? ... ? ? and commenting them out

2004-09-15 Thread Stefan
i've the dump feeling there's a bug in the parser (or in my mind =) since i tried to commenting out some code, containing ? ... ?. The according code was something like ... --- begin //$xml = ? ?; --- end the occured error is ... --- begin Parse error: parse error, unexpected $ in

Re: [PHP] Help with fwrite()

2004-09-15 Thread John Holmes
From: Nick Wilson [EMAIL PROTECTED] Each user (must have an id,name clearly) can fetch as many urls as they wish, those urls get written to the db, then as each url is fetched from the db it is dealt with with php and deleted from the db. What if a user gets cut off from the script and a whole

Re: [PHP] Help with fwrite()

2004-09-15 Thread Nick Wilson
* and then John Holmes declared Should the db go like this? db_urls url_id | user_id | project_id | url db_user user_id | name | whatever db_project project_id | user_id Wow, now i've written it down it seems clearer ;) you guys reckon that's the right kind of schema (based

[PHP] IIS 4 vulnerabilities

2004-09-15 Thread Angelo Zanetti
Hi guys, A client of mine is running PHP on a windows box (SErver) with IIS 4 installed. I am definitely not a favourite of it being a windows box and secondly IIS version 4. I have heard many things about security breaches in IIS version 4. A question I want to ask you all is it still safe for

Re: [PHP] Bug? ... ? ? and commenting them out

2004-09-15 Thread John Holmes
From: Stefan [EMAIL PROTECTED] i've the dump feeling there's a bug in the parser (or in my mind =) since i tried to commenting out some code, containing ? ... ?. http://us4.php.net/manual/en/language.basic-syntax.comments.php Quote:The one-line comment styles actually only comment to the end of

[PHP] iguanahost - anyone else being plagued?

2004-09-15 Thread Nick Wilson
Anyone else getting these infuriating italian messages about some muppet that doesnt exist? 'desintione non existente'? I've written to [EMAIL PROTECTED] but no joy, everytime i post on the php list i get half a dozen of the damn things... -- Nick W -- PHP General Mailing List

Re: [PHP] Removing strange chars from array (or string)

2004-09-15 Thread Zoran Lorkovic
From: Zoran Lorkovic [EMAIL PROTECTED] Well, when parsing html page data I want to save is saved in txt file. But when saving in txt file I got some strange chars like small square (this I see when open in NotePad). [snip] Am I missing something? You forgot to post your code. If

Re: [PHP] IIS 4 vulnerabilities

2004-09-15 Thread Greg Donald
On Wed, 15 Sep 2004 17:28:50 +0200, Angelo Zanetti [EMAIL PROTECTED] wrote: A client of mine is running PHP on a windows box (SErver) with IIS 4 installed. I am definitely not a favourite of it being a windows box and secondly IIS version 4. I have heard many things about security breaches in

RE: [PHP] iguanahost - anyone else being plagued?

2004-09-15 Thread Gryffyn, Trevor
Yeah, I get tons of them too. Ideally, someone should identify which user subscribed to the list is the culprit and remove their address. -TG -Original Message- From: Nick Wilson [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 15, 2004 11:53 AM To: php-general Subject: [PHP]

[PHP] security issus

2004-09-15 Thread H. Ch. Esperer
Hello, I have an apaci 1.3 and php 5.0.1 running on my machine and when I enter a url in a browser without a slash at the end of it I get the php script(!) instead of its output. When I add a slash, it works all right. Has anyone experienced this before? Did I just misconfigure something? hc

Re: [PHP] security issus

2004-09-15 Thread Greg Donald
On Wed, 15 Sep 2004 12:47:05 -0400, H. Ch. Esperer [EMAIL PROTECTED] wrote: I have an apaci 1.3 and php 5.0.1 running on my machine and when I enter a url in a browser without a slash at the end of it I get the php script(!) instead of its output. When I add a slash, it works all right. Has

[PHP] fopen problem, 5 line script

2004-09-15 Thread Mag
Hi, Can someone tell me what I am doing wrong here please? ?php $fileptr = fopen(http://www.google.com/index.html,r;); $contents = fread($fileptr, filesize($fileptr)); if(strstr($contents, href=\/froogle?hl=entab=wf\)) { $result = 1;}else{ $result = 2;} echo $result; ? This is the error I

[PHP] Re: php - no results - display other message

2004-09-15 Thread Dustin Krysak
Actually, after some searching I got it figured out... here is the way I ended up doing it Obviously the RSdel and the MLemail are specific to my record set and my database field. ?php if ($row_RSdel['MLemail'] != ) { ? Show result from database. ?php

Re: [PHP] fopen problem, 5 line script

2004-09-15 Thread Mark
--- Mag [EMAIL PROTECTED] wrote: Hi, Can someone tell me what I am doing wrong here please? ?php $fileptr = fopen(http://www.google.com/index.html,r;); $contents = fread($fileptr, filesize($fileptr)); http://us2.php.net/filesize int filesize ( string filename)

Re: [PHP] fopen problem, 5 line script

2004-09-15 Thread Curt Zirzow
* Thus wrote Mag: Hi, Can someone tell me what I am doing wrong here please? ?php $fileptr = fopen(http://www.google.com/index.html,r;); $contents = fread($fileptr, filesize($fileptr)); ... This is the error I get: Warning: filesize(): Stat failed for Resource id #1 (errno=2 - No

RE: [PHP] fopen problem, 5 line script

2004-09-15 Thread Vail, Warren
I thought filesize required the file name, and not the fileptr??? Warren Vail -Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 15, 2004 10:17 AM To: php php Subject: Re: [PHP] fopen problem, 5 line script * Thus wrote Mag: Hi, Can someone

Re: [PHP] iguanahost - anyone else being plagued?

2004-09-15 Thread Jim Grill
Anyone else getting these infuriating italian messages about some muppet that doesnt exist? 'desintione non existente'? I've written to [EMAIL PROTECTED] but no joy, everytime i post on the php list i get half a dozen of the damn things... -- Nick W I've been getting those stupid

Re: [PHP] fopen problem, 5 line script

2004-09-15 Thread Mag
--- Curt Zirzow [EMAIL PROTECTED] wrote: * Thus wrote Mag: Hi, Can someone tell me what I am doing wrong here please? ?php $fileptr = fopen(http://www.google.com/index.html,r;); $contents = fread($fileptr, filesize($fileptr)); ... This is the error I get: Warning:

RE: [PHP] iguanahost - anyone else being plagued?

2004-09-15 Thread Vail, Warren
Could it be that lizards are nocturnal? ;-) Warren Vail -Original Message- From: Jim Grill [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 15, 2004 10:05 AM To: Nick Wilson; php-general Subject: Re: [PHP] iguanahost - anyone else being plagued? Anyone else getting these

[PHP] Multiple web sites, one IP address...

2004-09-15 Thread René Fournier
I have a question that I'm not sure how to phrase (and google)... I know this is a little off-topic, but I was hoping some guru here might at least be able to point me in the right direction... --- I have several web sites (PHP-driven :-) that I want to host on my new xServe, which is sitting

Re: [PHP] Refresh page with frames...

2004-09-15 Thread Jasper Howard
script language=Javascript !-- location.refresh(true); //OR parent.document.location='LOCATION HERE'; //-- /script -- -- Jasper Howard :: Database Administration ApexEleven Web Design 1.530.559.0107 http://www.ApexEleven.com/

RE: [PHP] iguanahost - anyone else being plagued?

2004-09-15 Thread Dan Joseph
I've done the same thing. Most likely its an auto-response msg from them after we reply to anything on this list. I can't read the language its in personally. I wrote abuse several times, I get the same msg back. -Dan Joseph -Original Message- From: Nick Wilson [mailto:[EMAIL

Re: [PHP] fopen problem, 5 line script [SOLVED!]

2004-09-15 Thread Mag
Got it, 'case anybody else needs this: $page = file_get_contents('http://www.google.se/index.html'); if(strstr($page, 'href=/imghp?hl=svtab=wiie=UTF-8')) { $resultt = 1; } else {

Re: [PHP] Multiple web sites, one IP address...

2004-09-15 Thread raditha dissanayake
René Fournier wrote: I have a question that I'm not sure how to phrase (and google)... I know this is a little off-topic, but I was hoping some guru here might at least be able to point me in the right direction... the term you are looking for is 'virtual hosting' their is an excellent guide in

Re: [PHP] Multiple web sites, one IP address...

2004-09-15 Thread John Nichel
René Fournier wrote: I have a question that I'm not sure how to phrase (and google)... I know this is a little off-topic, but I was hoping some guru here might at least be able to point me in the right direction... snip run multiple web sites/domains (the docs say so). But does each of my

Re: [PHP] iguanahost - anyone else being plagued?

2004-09-15 Thread John Holmes
Subject: [PHP] iguanahost - anyone else being plagued? I have a big lizard, if that helps. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

FW: [PHP] Refresh page with frames...

2004-09-15 Thread Andre
I need to refresh the top frame and I am on the content frame (for example) and this code doesn’t work for this script language=Javascript !-- location.refresh(true); //OR parent.document.location='LOCATION HERE'; //-- /script And I try whit this; META HTTP-EQUIV=Refresh

Re: FW: [PHP] Refresh page with frames...

2004-09-15 Thread John Nichel
Andre wrote: This list is for PHP, not a JavaScript. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Refresh page with frames...

2004-09-15 Thread Jasper Howard
so change parent to the name of the frame -- -- Jasper Howard :: Database Administration ApexEleven Web Design 1.530.559.0107 http://www.ApexEleven.com/ -- Andre [EMAIL

RE: [PHP] iguanahost - anyone else being plagued?

2004-09-15 Thread Gryffyn, Trevor
It appears to be a user not found type error..'desintione non existente' looks a lot like destination doesn't exist. The guys that manage the PHP-General list need to be made aware so they can remove the offending email address. There's not a lot these iguana guys can do if a user no longer

Re: [PHP] iguanahost - anyone else being plagued?

2004-09-15 Thread Ron Guerin
Gryffyn, Trevor wrote: It appears to be a user not found type error..'desintione non existente' looks a lot like destination doesn't exist. The guys that manage the PHP-General list need to be made aware so they can remove the offending email address. There's not a lot these iguana guys can

[PHP] Checking file_exists()

2004-09-15 Thread PHP Junkie
Ave, I have a simple file upload form, which uploads without a problem. Today I added the file_exists() function to my PHP code. And everything stopped working. What am I doing wrong here: ?php if($upload_file) { $db = mysql_connect(localhost,usr,pwd); mysql_select_db(imsafm,$db); $date =

RE: [PHP] iguanahost - anyone else being plagued?

2004-09-15 Thread Gryffyn, Trevor
Fair enough. -Original Message- From: Ron Guerin [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 15, 2004 3:04 PM To: Gryffyn, Trevor Cc: php-general; Dan Joseph Subject: Re: [PHP] iguanahost - anyone else being plagued? Gryffyn, Trevor wrote: It appears to be a user

[PHP] Re: iguanahost - anyone else being plagued?

2004-09-15 Thread Jasper Howard
yeah, im pretty sure that's spanish -- -- Jasper Howard :: Database Administration ApexEleven Web Design 1.530.559.0107 http://www.ApexEleven.com/ -- Nick Wilson [EMAIL

Re: [PHP] iguanahost - anyone else being plagued?

2004-09-15 Thread Nick Wilson
* and then Gryffyn, Trevor declared It appears to be a user not found type error..'desintione non I must say, im glad it's not just me hehe! I was beginning to think it was just me. I've been away from the list (never a big participant...) for a while but stuff like that used got sorted

[PHP] jpgraph newbie

2004-09-15 Thread blackwater dev
I go the following code form phpfreaks..problem is, when I run it I get a page not found error. I know jpgraph sends the image back to the browser but why do I get page not found? If I force some syntax errors, they will be displayed but this just doesn't seem to do anything. Thanks! $db=new

Re: [PHP] Checking file_exists()

2004-09-15 Thread John Holmes
From: PHP Junkie [EMAIL PROTECTED] $trauma = 'imsafm/$PHP_login/$img1_name'; http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.single ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Checking file_exists()

2004-09-15 Thread Greg Donald
On Wed, 15 Sep 2004 15:05:02 -0400, PHP Junkie [EMAIL PROTECTED] wrote: I have a simple file upload form, which uploads without a problem. Today I added the file_exists() function to my PHP code. And everything stopped working. What am I doing wrong here: ?php if($upload_file) { $db =

[PHP] File Download Problems

2004-09-15 Thread PHP Junkie
Ave, I've been having a very nagging and frustrating problem for a while and I hope someone can help me out with this. I created a simple File Manager application, a lot of you already know about it as you helped me with coding at different stages. The problem is this: The Download. When you

Re: [PHP] PHP include before or after Apache SSI?

2004-09-15 Thread Andrew W
On 13 Sep 2004, at 19:11, Ed Lazor wrote: Why use SSI? PHP's include directive allows you to bring separate pages together for creating an overall page. You can include .html files. Also, PHP programming isn't *required* in a file with the php extension. I had wondered about that but I must

Re: [PHP] Checking file_exists()

2004-09-15 Thread PHP Junkie
Ave, I can swear it wasn't working with the Double Quotes either because I tried it first. But well, now it is so no point in anything. Thanks a lot. On 9/15/04 3:19 PM, John Holmes [EMAIL PROTECTED] wrote: From: PHP Junkie [EMAIL PROTECTED] $trauma = 'imsafm/$PHP_login/$img1_name';

Re: [PHP] jpgraph newbie

2004-09-15 Thread Greg Donald
On Wed, 15 Sep 2004 07:10:39 -1200, blackwater dev [EMAIL PROTECTED] wrote: I go the following code form phpfreaks..problem is, when I run it I get a page not found error. I know jpgraph sends the image back to the browser but why do I get page not found? If I force some syntax errors, they

[PHP] MySQL to OO

2004-09-15 Thread Neo Theone
I am searching for a MySQl to Object abstraction class. I am thinking something like WebObjects does in Java (it is just a part) in PHP. I had one for Ruby but now I have to use a DB in MySQL and such a class would make it alot easier. Does anybody know such a project or something similar? I

[PHP] Re: MySQL to OO

2004-09-15 Thread Matthew Weier O'Phinney
* Neo Theone [EMAIL PROTECTED]: I am searching for a MySQl to Object abstraction class. I am thinking something like WebObjects does in Java (it is just a part) in PHP. I had one for Ruby but now I have to use a DB in MySQL and such a class would make it alot easier. Does anybody know such

RE: [PHP] MySQL to OO

2004-09-15 Thread Jay Blanchard
[snip] I am searching for a MySQl to Object abstraction class. I am thinking something like WebObjects does in Java (it is just a part) in PHP. I had one for Ruby but now I have to use a DB in MySQL and such a class would make it alot easier. Does anybody know such a project or something

Re: [PHP] MySQL to OO

2004-09-15 Thread John Holmes
From: Neo Theone [EMAIL PROTECTED] I am searching for a MySQl to Object abstraction class. I am thinking something like WebObjects does in Java (it is just a part) in PHP. I had one for Ruby but now I have to use a DB in MySQL and such a class would make it alot easier. Are you talking about

[PHP] XML parser for PHP5

2004-09-15 Thread Matthew Sims
Anyone know any good XML parsers that work with PHP5? Most of what I can find on freshmeat are still using PHP4 classes and Google isn't turning up much either. -- --Matthew Sims --http://killermookie.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: XML parser for PHP5

2004-09-15 Thread Greg Beaver
Matthew Sims wrote: Anyone know any good XML parsers that work with PHP5? Most of what I can find on freshmeat are still using PHP4 classes and Google isn't turning up much either. What do you want to do? This parses xml pretty well: ?php $parsed = simplexml_load_file('filename.xml'); ? as does

Re: [PHP] Re: XML parser for PHP5

2004-09-15 Thread Matthew Sims
Matthew Sims wrote: Anyone know any good XML parsers that work with PHP5? Most of what I can find on freshmeat are still using PHP4 classes and Google isn't turning up much either. What do you want to do? This parses xml pretty well: ?php $parsed = simplexml_load_file('filename.xml');

Re: [PHP] File Download Problems

2004-09-15 Thread Marek Kilimajer
PHP Junkie wrote: Ave, I've been having a very nagging and frustrating problem for a while and I hope someone can help me out with this. I created a simple File Manager application, a lot of you already know about it as you helped me with coding at different stages. The problem is this: The

Re: [PHP] mysql_connect does not connect

2004-09-15 Thread Sam Hobbs
I appreciate your attempts to help, but you must understand that when attempts to help just cause time to be wasted, then it might be appropriate to not appreciate the help. Then when I try to explain that you are not helping, you make comments such as this, trying to blame me. If I am the

Re: [PHP] mysql_connect does not connect

2004-09-15 Thread Sam Hobbs
Greg Donald [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I lost track of who the original poster was, but anyway... Why not disconnect from the internet, turn off all the firewalls, and then see if it works. If it doesn't then post some error messages and code for what's being

Re: [PHP] Re: XML parser for PHP5

2004-09-15 Thread Greg Beaver
Matthew Sims wrote: My fault, I should have been more specific. An RSS reader. :) I was using xmlParser-0.3 and feedParser-0.5 to display news sites. Since I've converted to PHP5, they no longer work for me. definitely a combination of simplexml and DOM would work. You need DOM in order to

Re: [PHP] Re: XML parser for PHP5

2004-09-15 Thread Matthew Sims
Matthew Sims wrote: My fault, I should have been more specific. An RSS reader. :) I was using xmlParser-0.3 and feedParser-0.5 to display news sites. Since I've converted to PHP5, they no longer work for me. definitely a combination of simplexml and DOM would work. You need DOM in order

Re: [PHP] Re: mysql_connect does not connect

2004-09-15 Thread Sam Hobbs
Andrew Kreps [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Tue, 14 Sep 2004 10:11:24 -0700, Sam Hobbs [EMAIL PROTECTED] wrote: Also, are the warning messages documented? As I asked in my original question, is 10061 an error code? 10061 is a generic winsock error for a timeout,

Re: [PHP] Re: mysql_connect does not connect

2004-09-15 Thread Jason Wong
On Thursday 16 September 2004 06:14, Sam Hobbs wrote: [quote from another Sam Hobbs post] I am the original poster. The reason I avoid doing things like that is because it is a guess. It should not be necessary; the firewal should not be relevant. Sometimes people suggest things that are not

Re: [PHP] mysql_connect does not connect

2004-09-15 Thread Jason Davidson
Good day, im glad you seem to have resolved your problem, i shall comment on your comments. Sam Hobbs [EMAIL PROTECTED] wrote: I appreciate your attempts to help, but you must understand that when attempts to help just cause time to be wasted, then it might be appropriate to not

Re: [PHP] Re: mysql_connect does not connect

2004-09-15 Thread Jason Davidson
firewall, who would have thought Jason Wong [EMAIL PROTECTED] wrote: On Thursday 16 September 2004 06:14, Sam Hobbs wrote: [quote from another Sam Hobbs post] I am the original poster. The reason I avoid doing things like that is because it is a guess. It should not be necessary;

Re: [PHP] mysql_connect does not connect

2004-09-15 Thread Greg Donald
On Wed, 15 Sep 2004 15:06:11 -0700, Sam Hobbs [EMAIL PROTECTED] wrote: I am the original poster. The reason I avoid doing things like that is because it is a guess. It should not be necessary; the firewal should not be relevant. Sometimes people suggest things that are not likely to be a

  1   2   >