[PHP] Apache Problem

2001-01-13 Thread Chris
I was always using pws until recently when I got Apache for windows. Unfortunately when apache gets to a php file it doesnt parse it, it thinks its a file to download. I uncommented the php lines in the http.conf file but still no use. Does anyone know how to fix this?

[PHP] MySQL + PWS Problems

2001-01-16 Thread Chris
Whenever I try to connect with ANY Mysql code on my cpu, I get an error saying it can't connect. I installed usingthe 4.04 win32 installer(heresey I know) which has mysql built in. Do I have to edit anything to all me to try the scripts on my personal cpu?

Re: [PHP] MySQL + PWS Problems

2001-01-18 Thread Chris
i downloaded the binaries but when I compiled it said I was missing string.obj - Original Message - From: "Phil Driscoll" [EMAIL PROTECTED] To: "Chris" [EMAIL PROTECTED]; "PHP" [EMAIL PROTECTED] Sent: Wednesday, January 17, 2001 4:44 AM Subject: Re: [PHP] My

[PHP] MySQL - Problem with multiple INSERTs?

2001-03-05 Thread Chris
table schemata), to enable reproduction. It seems like a bug to me - the question is, is the bug in PHP, MySQL, or my brain? This is driving me CRAZY - Chris mysql_connect("localhost", "myusername", "mypassword"); mysql_db_query("DocCountry"

[PHP] Interbase

2001-03-07 Thread Chris
is? Is it still free? Thanks, Chris

Re: [PHP] Auto Prepend/Append

2001-03-07 Thread chris
On Tue, Mar 06, 2001 at 12:28:33PM -0600, Boget, Chris wrote: Is it possible to use the auto prepend/append directives to prepend/append particular files only to files with a particular extension? I don't believe you can do this directly with PHP but you probably can with Apache

Re: [PHP] Good Free PHP Editor?

2001-03-14 Thread chris
Do any of these editors support server mappings allowing one to auomatically preview files through a server? I find this invaluable in HomeSite (which is also VERY stable for me using Win2K) and I think HTMLKit does it too-- but do anyof the leaner text editors? By server mappings I mean that I

[PHP] Header Help!

2001-03-14 Thread Chris
# allways different too!) Can someone tell me what the proper header to send is? I looked at HTTP1.1 protocol page, but it just refers to multipart/form-data but does not actuall show it in an example with Content-Type. Thanks, Chris

[PHP] Array help

2001-03-14 Thread Chris
Hi, Is there a way to do an array_pop with php3?

[PHP] Header problems

2001-03-28 Thread Chris
Help, Why did this suddenly stop working? (only code on page) script language="php" header ("Location: http://www.otherserver.com/index2.htm"); /script It was working fine before, now the page just returns: /body/html in the source, no error messages.

[PHP] Delete File Contents?

2001-12-17 Thread Chris
the file and creating a new one but that seems like a lot to do. It would be nice if there were a way to set a pointer to the top of the file and overwrite. Thanks, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP] Mysql('mydb, SHOW TABLES FROM mydbname) ???

2002-01-12 Thread Chris
* FROM sometable) everything works fine. There must be something I’m missing about the SHOW query. Thanks Chris Williams -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e

[PHP] DUH!!!! Why didn't I see that?

2002-01-12 Thread Chris
DUH Why didn't I see that.. Thanks.. Chris Miles Thompson wrote: Well, did you try looping though tables with mysql_fetch_array($tables)? But, how 'bout mysql_list_tables()? Cheers - Miles Thompson PS There's a bunch of other interesting stuff relating to database manipulation

[PHP] PHP - mssql

2002-03-20 Thread chris
everything i can think of that can work but with no luck. So if someone have a solution for me... i would apriciate it :) (and yes i do have defined all the vars in the script they are just not that important here) -Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] why doesnt this work???

2002-03-20 Thread chris
) { $line = mssql_fetch_row($result); if( $line[1]='$bruker' and $line[2]='$passord') echo hei $bruker.; else echo FEIL; } ? -Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] why doesnt this work???

2002-03-20 Thread chris
nope... that did not do the trick... -Chris Rick Emery [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... if( $line[1]='$bruker' and $line[2]='$passord') {echo hei $bruker.;} else {echo FEIL;} -Original Message- From: chris

Re: [PHP] why doesnt this work???

2002-03-20 Thread chris
enclose the variables in double quote. if( $line[1]==$bruker and $line[2]==$passord) echo hei $bruker.; else echo FEIL; -Original Message- From: chris [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 8:15 AM To: [EMAIL PROTECTED] Subject: [PHP] why doesnt t

Re: [PHP] why doesnt this work???

2002-03-20 Thread chris
f( $line[1]==$bruker and $line[2]==$passord) echo hei $bruker.; else echo FEIL; -Original Message- From: chris [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 8:15 AM To: [EMAIL PROTECTED] Subject: [PHP] why doesnt this work??? this script receive

Re: [PHP] why doesnt this work???

2002-03-20 Thread chris
Message- From: chris [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 8:33 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] why doesnt this work??? it all works just fine exept that when the vars is wrong i get a blank page...wich means that the else echo doesnt work for some reason...

[PHP] included files not reread by php when i edit the files

2002-03-22 Thread Chris
the browser is not caching the page. Win98 + 'foxserv', that is: apache, mysql. php, zend. Using: Postnuke 0.7.1 with sessions (it did not happen before the sessions, but cannot imagine the sessions do this.). I would suspect zend but it also happened with the normal php 4.06. cheers, Chris

Re: [PHP] included files not reread by php when i edit the files

2002-03-22 Thread Chris
, it now uses sessions. IE6, caching turned of, and check page every time as well as 'automatic'.. Also reproducable in Opera. Chris - Original Message - From: Chris [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 22, 2002 12:59 PM Subject: [PHP] included files not reread

RE: [PHP] Variable problem

2002-03-22 Thread Chris
; -- ! please check my email address ! ! only my email [EMAIL PROTECTED] works ! ! email [EMAIL PROTECTED] is a black hole since januari 2002 ! Chris Hayes - Droef 35 - Wageningen -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] MySQL query results

2002-03-22 Thread Chris
() ); I find it is extremely useful in debugging. -- ! please check my email address ! ! only my email [EMAIL PROTECTED] works ! ! email [EMAIL PROTECTED] is a black hole since januari 2002 ! Chris Hayes - Droef 35 - Wageningen -- PHP General

Re: [PHP] MySQL query results

2002-03-22 Thread Chris
! ! only my email [EMAIL PROTECTED] works ! ! email [EMAIL PROTECTED] is a black hole since januari 2002 ! Chris Hayes - Droef 35 - Wageningen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Echo Informative Text will Script Runs - how ?

2002-03-25 Thread Chris
Hi, How can I echo some text such as Processing, please wait... whilst the PHP script runs. Rather than displaying a blank screen with the results being echoed once the script has fully completed. Thanks, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] FTP RAW

2002-03-25 Thread Chris
Can anyone help me with the command I need for a RAW FTP file upload? I can create connections and they empty file, but I have no idea how to get the data into the file and I have tried everything. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] FTP RAW

2002-03-26 Thread Chris
Yes. Your solutions fails for any file over 5k about 99% of the time. The server I use does not have the FTP functions installed so I cannot use these, that is why I am looking to this solution.' Chris Analysis Solutions [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">new

Re: [PHP] FTP RAW

2002-03-26 Thread Chris
PROTECTED]">news:[EMAIL PROTECTED]... Hi Chris: Yes. Your solutions fails for any file over 5k about 99% of the time. The server I use does not have the FTP functions installed so I cannot use I wouldn't really call it your solution, since it's really the solution. FTP stands

Re: [PHP] [Session] (it seems to be a bug in PHP 4.1.2)

2002-03-26 Thread Chris
and suggestions to solve it http://bugs.php.net/bug.php?id=16102 Chris -- ! please check my email address ! ! only my email [EMAIL PROTECTED] works ! ! email [EMAIL PROTECTED] is a black hole since januari 2002 ! Chris Hayes - Droef 35

[PHP] Mail - max_execution_time problem

2002-04-02 Thread Chris
I'm trying to use the mail() function to send mail to a mailing list and because of the junk mail problem of hotmail, I'm trying to send mail one by one. The problem of using this method is that it always exceed the max execution time of 30s before the script reaches end of parsing. I'm using a

[PHP] Dynamic Binding for PHP?

2002-04-04 Thread Chris
Is there a way to implement Dynamic Binding using PHP? Chris Lee [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Transfer Session Vars to different server

2002-04-08 Thread Chris
. What is the best way to do this? Clearly, I don't want to do this as a list of vars in the URL - some of the vars are sensitive. I would appreciate any comments. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] copy protection

2002-05-07 Thread Chris
I found this on the web one day, though I've never used it or played around with it. It does make the code a pain to read though if it does anything close to the sample on the page. Plus, its free. http://pobs.mywalhalla.net -Chris At 01:35 PM 5/7/2002 +, Udo Giacomozzi wrote: Hi! Has

Re: [PHP] Multiple drop-down lists

2002-05-16 Thread Chris
and then populating the rest. IE They select Ohio in the first box, then you would refresh the page, and select * from cities where state = OH... -Chris At 01:21 PM 5/16/2002 +0100, Brian McGarvie wrote: All, How would you implement 4 drop down lists Data in list 2 dependant on list 1, list 3 dependant

[PHP] sessions nightmare

2002-09-11 Thread Chris
on?!#!#!$# Thanks a million in advance!! - Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: session_start function breaks flush function in 4.2.1

2002-09-25 Thread Chris
I'd written a work around - basically I echo the message, and recall the script with a meta refresh to do the actual processing. Thanks again, Chris Michael Sims [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Chris Andrew [EMAIL PROTECTED] wrote in messag

[PHP] GD Gif or PNG

2001-10-23 Thread Chris
Before creating a graphic, I would like to detect what type of graphic files are supported. For example if GD is enabled and GIF Support is available I'll create an GIF image. I know phpinfo() will tell me this but I don't want to burden the user with this check. Any Suggestions? Chris

[PHP] Detect mySql Install

2001-10-23 Thread Chris
Is there a way to detect, using PHP, if mySql is installed on a server? Can a version # be determined also? I know this can be done using phpinfo, but I don't want to use that approach. Thanks, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] GD GIF or PNG Detect Part 2

2001-10-29 Thread Chris
error is thrown: Fatal error: Call to undefined function: imagetypes()… Any suggestions to prevent the error message being thrown. Are there other methods to detect the presence GD libraries before testing for GIF or PNG support? Regards, Chris -- PHP General Mailing List (http://www.php.net

[PHP] Saving Dynamically Generated Pages

2001-11-09 Thread Chris
. Any suggestions welcome. Thanks, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Saving Dynamically Generated Pages

2001-11-09 Thread Chris
It appears this function is only available for PHP4+. I have been trying to stay compatible with PHP3 but maybe I should abandon this requirement. Do you know of any URLs that may provide stats on versions of PHP in use? Thanks, Chris Wolfram Kriesing wrote: I’m considering writing all

[PHP] PHP Usage Stats

2001-11-09 Thread Chris
Are there any refrences that would indicate the percent of sites (PHP installs) using various versions of PHP (i.e., 60% PHP4, 30% PHP3, etc.)? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] PHP Usage Stats

2001-11-09 Thread Chris
That Report doesn't seem to identify PHP version only total Matt McClanahan wrote: On Fri, Nov 09, 2001 at 10:11:50AM -0800, Chris wrote: Are there any refrences that would indicate the percent of sites (PHP installs) using various versions of PHP (i.e., 60% PHP4, 30% PHP3, etc.)? See

Re: [PHP] Setting title via included file

2001-11-20 Thread Chris
[posted and mailed] Jim Lucas addressed php.general and spake thusly: I have a page that includes a file in the middle, but I wish to set the title of the page based on a variable set in the included file-- is this possible? Basically, I was doing this for the output buffering: ***

Re: [PHP] XML and PHP - dynamic hell

2001-12-01 Thread Chris
It didn't help :( - Original Message - From: Matthew Loff [EMAIL PROTECTED] To: 'Chris' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, December 01, 2001 10:03 AM Subject: RE: [PHP] XML and PHP - dynamic hell Did you try adding: header(Content-Type: text/xml); To the top

[PHP] Any ideas if a form needs a signature?

2001-08-09 Thread Chris
I am digitalizing a companies Application in an online system. The problem is that companies they deal with require the app to be signed. Obviously an online application cannot be signed conventionally. Does anyone know of a way or a work-around to accomplish this?

[PHP] How to Read a URL dynamically generated by a server with POST method ?

2001-08-16 Thread chris
The PHP function fopen() can read a URL generated by a server with the GET method. In that case, the arguments of this server's script are part of the the URL. Unfortunately, I have to read parse the result of a form using POST method. Is there another function than fopen() that can be used ?

[PHP] PHP as an Apache module

2001-08-26 Thread Chris
with this would be great... Thanks, Chris Irwin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] imagecreatefromgif

2001-08-30 Thread Chris
what I want to do is annotate the gif before I display it. Any comments welcome. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re: imagecreatefromgif

2001-08-30 Thread Chris
OK, NOW I FEEL STUPID!!! Upon trying the suggestion I notice a missing semicolon. Thanks, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

[PHP] Setting session vars in a function - some weirdness!

2001-09-10 Thread Chris
$HTTP_SESSION_VARS to read a variable works fine. Since I like to always use $HTTP_SESSION_VARS for safety, rather than the bare varname, I'm not too thrilled with all this. Can anyone explain why it's so? Thanks, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] HTTP Authentication with PHP

2001-05-17 Thread Chris
I have configured mod_auth_pam for Apache and secured a directory with an .htaccess file: AuthType Basic AuthName Secure Area require group staff require user chris Now, I would like to control the local browser window's authentication cache via PHP. For example, how do I clear

Re: [PHP] mysql error, dont see why.. please help

2001-05-22 Thread Chris
Looks like this may be in wrong order: url = '$file_name') ^ I think you have ' when it should be ' Here is the command. mysql_query(UPDATE user_polls WHERE uid = '$UserName' AND type = '$type' SET url = '$file_name') or die(mysql_error()); Output You

[PHP] Constantly running?

2001-05-23 Thread Chris
Is there anyway to ALWAYS have a script running on the server without needing a browser to access it?

[PHP] setcookie() woes

2001-06-20 Thread Chris
problem, with a well known solution? Thanks, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Io Ports?

2001-02-06 Thread Chris
. Chris.

Re: [PHP] security help

2001-02-08 Thread Chris
If you include a file as a link, so the browser sees: www.myserver.com/sercuredir/image.jpg. Than yes, you will be asked for a user and pass. If you include the file in the code, like including another script file, or reading the raw image data and outputting it, then .htaccess will be ignored.

Re: [PHP] Files only available via HTTPS

2001-02-09 Thread Chris
And if you can't seperate the root directorys of the secure and not secure servers, you can setup and aliases directory under the secure server and it will be the only one that can see that dir. On Fri, 9 Feb 2001, Daniel Tryba wrote: On Thu, Feb 01, 2001 at 04:29:09PM -0800, Michael Conley

[PHP] Array question

2001-02-14 Thread Chris
= myarray["something"]; $indexofsomething = current(); Thanks, Chris

Re: [PHP] Array question

2001-02-15 Thread Chris
Ok, But can't the array still be refered to with a number? So in myarray["something"] is the 50th element in the array, wouldn't: myarray[49] = myarray["something"] ? On Thursday 15 February 2001 01:40, Chris wrote: How do I get the index,number of an array if reffe

[PHP] Trying to do a CVS import

2001-02-18 Thread Chris
to be 'in' the directory I want to import. Since I can't do anything like a cd from PHP, what do I do? Thanks, Chris

Re: [PHP] Trying to do a CVS import

2001-02-18 Thread Chris
Eep. I didn't know there was a chdir. It's not in the list of Filesystem functions, but when I looked for it by name in the quickref, there it was. Thanks! Chris

[PHP] Navigation

2001-02-20 Thread Chris
ting with 1. I want for # to increase by one each time a user clicks it, as well as load that numbers image. I wanted to define each # as a link to that image. Thanks, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

[PHP] Encryption

2001-02-21 Thread Chris
? Or is the the access database that isn't properly storing the  ? Is there a better way to do this? Thanks, Chris

[PHP] PHP not proccessing input?

2001-02-23 Thread Chris
read the posted info just fine. PHP does work fine with normal php forms. Why can PERL recognize my data, but PHP not, how are they handling the posted info differently? Is there a way I can get PHP to display the raw data that the script receives so I can see what is happening? Thanks for any help, Chris

[PHP] Help, Perl can, Php can't !

2001-02-26 Thread Chris
the posted info just fine. PHP does work fine with normal php forms. Why can PERL recognize my data, but PHP not, how are they handling the posted info differently? Is there a way I can get PHP to display the raw data that the script receives so I can see what is happening? Thanks for any help, Chris

Re: [PHP] Help, Perl can, Php can't !

2001-02-26 Thread Chris
Unfortuanetly, phpinfo is not telling me anything. It returns all the normal info, but it still seems to act like there was no data posted. Put phpinfo() in the script to see what is going on.. On Monday, 26 February 2001, at 09:12:11 (-0800), Chris wrote: I am trying to post some

Re: [PHP] Help, Perl can, Php can't !

2001-02-26 Thread Chris
'}); Put phpinfo() in the script to see what is going on.. On Monday, 26 February 2001, at 09:12:11 (-0800), Chris wrote: I am trying to post some info to my php script using the microsoft internet control: strurl = http://www.myserver.com/test.asp strdata = "lah=sddta

[PHP] File sending?

2001-02-27 Thread Chris
to a temp dir then give them the link, then worry about deleting the temp dir again. Thanks, Chris

[PHP] File downloading?

2001-02-27 Thread Chris
to a temp dir then give them the link, then worry about deleting the temp dir again. ( I am not sure if my first email went through, I got an error back about the mailbox being full) Thanks, Chris

Re: [PHP] File downloading?

2001-02-27 Thread Chris
Great, thanks. I looked at the file(), but it sounded like is was just for local file use. Is it possible to send a file to a browser? Sure. file(); I would like to allow people to download a file, but I don't want to give away the path to the file, so a normal link wouldn't

[PHP] Help, looking for.

2001-02-27 Thread Chris
Hi again, Has anyone here come accross a Rich Text Format to HTML converted based on PHP? Thanks, Chris

[PHP] Info needed

2001-02-28 Thread Chris
Hi again, Has anyone here come accross a Rich Text Format to HTML converted based on PHP? Thanks, Chris

Re: [PHP] regex frustration

2001-02-28 Thread Chris
Try the perl compatible one, you can set a limit of how many times to replace: http://www.php.net/manual/en/function.preg-replace.php I've tried and tried to no avail, can someone assist I need to select the first space in a line like the following Nelson Bob and Mary, 123 Street st.,

Re: [PHP] Munging hidden/form variables

2001-03-01 Thread Chris
it is because of the browser that the client is using that this variable is unreliable. But what those browsers/versions are, I don't know and am hoping someone can answer. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: [PHP] Munging hidden/form variables

2001-03-01 Thread Chris
Not really, because the script filename is deleted and changed all the time, it doesn't matter if they paste the name into the form, since the file will no longer exist. From: "Chris" [EMAIL PROTECTED] Would it not be possible to have both the form page and the script page that

Re: [PHP] Munging hidden/form variables

2001-03-01 Thread Chris
No wait, I see what you mean. You're right, sometimes the obvious is missed, but it sounded cool. From: "Chris" [EMAIL PROTECTED] Would it not be possible to have both the form page and the script page that handles the form be generated o the fly with random filenames? The

[PHP] Help please.

2001-04-06 Thread Chris
Hi, I am trying to find some info on upgrading from php3 to php4. I can't seem to find any docs about upgrading, just installing. Is this the same thing? Do I have to re-compile apache just to go from php3 to php4? Thanks, Chris.

Re: [PHP] Help please.

2001-04-06 Thread Chris
Yes, thank you, but this has nothing to do with what I asked, this is about CODE migration. http://www.php.net/manual/en/migration4.php -Original Message- From: Chris [mailto:[EMAIL PROTECTED]] Sent: Friday, April 06, 2001 12:19 PM To: php Subject: [PHP] Help please

[PHP] mail() limit?

2001-04-06 Thread Chris
Hi, Does anyone know if and what the limit is of bcc that can be used in the mail() function? Hundreds, thousands? Thanks, Chris

Re: [PHP] register globals not working

2007-10-24 Thread Chris
You're using the wrong option. Register globals is for the auto-creation of variables passed through GET, POST, etc. What you want is register_long_vars (or something like that, long variables, long arrays...) Chris Rodney Courtis wrote: Hi I have installed php v5 on a windowsXP PC

Re: [PHP] More info on timeout problem, with code

2007-11-06 Thread Chris
Jon Westcot wrote: Hi David, et al.: Thanks for the comment. I removed the trailing semi-colon in the two areas where it was being sent to mysql_query() and tried the code again. I'm still getting the same basic problem -- it silently aborts somewhere around 22,000 to 26,000 records being

Re: [PHP] functions versus includes

2007-11-11 Thread Chris
Frank Lopes wrote: I just started using PHP and got to think... Without getting into the discussion of best practices, strictly from a performance perspective, what is faster: a function or an include? For example I have a block of text that needs to appear mutliple times throughout the

Re: [PHP] Need a hint how to track an error

2007-11-11 Thread Chris
Ronald Wiplinger wrote: My php program is working with Firefox, but not with Internet Explorer. Nothing to do with php, your problem is javascript. Is there a tool to find the problem? For IE, try

Re: [PHP] Problems building 5.2.4 on Solaris 9 SPARC

2007-11-11 Thread Chris
Khyron wrote: I have tried this for weeks with no success, so I am asking for help with this. Something seems really off with the PHP 5.2.4 build process. You might get more help on the php-install list rather than this one. -- Postgresql php tutorials http://www.designmagick.com/ -- PHP

Re: [PHP] functions versus includes

2007-11-11 Thread Chris
Nathan Nobbe wrote: On Nov 11, 2007 9:32 PM, Robert Cummings [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On Mon, 2007-11-12 at 11:27 +1100, Chris wrote: Frank Lopes wrote: I just started using PHP and got to think... Without getting into the discussion

Re: [PHP] functions versus includes

2007-11-11 Thread Chris
Nathan Nobbe wrote: On Nov 11, 2007 11:52 PM, Chris [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: As I said, it's a micro-optimization *shrug*. 0.0004 seconds difference over 10 iterations - wow ;) actually it was just one iteration; the output isnt very clear, but thats

Re: [PHP] multi dimentional array sort need help

2007-11-12 Thread Chris
Jamesas wrote: I have the array by the following. i want to sort the array by name and starlevel.plz help me i am troubled for it. If this is coming from a database it would be easier to get the database to do the sorting instead of trying to do it in php. -- Postgresql php tutorials

Re: [PHP] Local vs Master Configure values

2007-11-12 Thread Chris
The only question that remains for me is what's the difference between Local and Master Configure values in php_info? Why two? The 'master' value is straight from php.ini or the httpd.conf settings (eg httpd.conf sets the open_basedir restrictions). The 'local' value is after .htaccess

Re: [PHP] web page download question

2007-11-12 Thread Chris
David Calkins wrote: I'm attempting to scrape a web page to pull out some pertinent info. The URL looks similar to the below. http://www.someserver.com/user-info.xml?user=myusername If I paste the above into my web browser, the page comes up and displays the information. If I try view

Re: [PHP] pecl-ssh2 and remote command execution

2007-11-12 Thread Chris
Radek Hladik wrote: Hi, I need to run remote command (by ssh), send it some data and receive its output and return value. I could run command like ssh [EMAIL PROTECTED] 'command' via proc_open or something like that. But I've discovered ssh2 pecl-extension and I liked the idea of using ssh

Re: [PHP] Hello, I have a php/apache question

2007-11-12 Thread Chris
Josh McDowell wrote: I just recently installed apache 2.0 on my comp with php 5.2.5 aswell. Apache is working and I am trying to get php to be configured into apache as a module, I put the ini file in the load module so it looks like this: #LoadModule vhost_alias_module

Re: [PHP] web page download question

2007-11-12 Thread Chris
David Calkins wrote: Its a big company. They provide the page to help people look up the info, but I don't think I could expect support from them on it. I was thinking it was some standard sort of thing, like maybe the way you issue the HTTP request or some way of decoding an alternate

Re: [PHP] Which is the best windows IDE for PHP ?

2007-11-12 Thread Chris
mvh wrote: on windows Why not? http://www.vim.org/download.php#pc -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem retrieving $_POST values

2007-11-12 Thread Chris
Jon Westcot wrote: Hi all: I'm having problems retrieving an array value that should be in a $_POST setting. In fact, I'm having trouble with the code hanging with no warnings or errors whatsoever, so I've got no clue why it's not working. Working code: if(isset($_POST[mls])) {

Re: [PHP] PHP ide?

2007-11-13 Thread Chris
OK, I'm looking at the PHPEclipse site, and I've been here before: the current Using PHPEclipse document lists the system requirements as PHP 5.1.2 or *below*, and Apache 2.0 or *below* Is that just badly out-of-date (last update is April 2007), or is PHPEclipse really not able to support PHP

Re: [PHP] Quick questions -- how do I place the cursor (i.e., set focus) to a field on page load?

2007-11-13 Thread Chris
Jon Westcot wrote: Hi Mike: you want javascript. i'd recommend using jquery (jquery.com) I'll look into this. Thanks. put an id=username on the username box. then do script type=text/javascript $(document).ready(function() { $(#username).focus(); }); /script voila Hmmm.

Re: [PHP] Input field

2007-11-13 Thread Chris
Ronald Wiplinger wrote: I added just into a input field 19 enclosure which was displayed from the database as: 19\ enclosure That gives me some questions: 1. where the protecting slash comes from? Probably magic_quotes_gpc 2. how can I get it away when I want to display that field? 1)

Re: [PHP] file_exists

2007-11-13 Thread Chris
Ronald Wiplinger wrote: I am having troubles with the function file_exists() I tried the full path like: if (file_exists('/srv/www/../images/pic412.jpg') { echo IMG SRC='images/pic412.jpg'; } else { echo nbsp; //picture is missing! } No matter if I use the

Re: [PHP] file_exists

2007-11-14 Thread Chris
Ronald Wiplinger wrote: Chris wrote: Ronald Wiplinger wrote: I am having troubles with the function file_exists() I tried the full path like: if (file_exists('/srv/www/../images/pic412.jpg') { echo IMG SRC='images/pic412.jpg'; } else { echo nbsp; //picture

  1   2   3   4   5   6   7   8   9   10   >