[PHP] session problems when calling within a class.

2001-08-08 Thread Mark Garcia
Greetings, I'm having a puzzling time trying to figure out how to work around the issue of the session_id not existing after making calls to session_start and session_id to generate an session. It seems that by set_si() calling session_id and seeing if there is a value, doesn't not work. Hence,

[PHP] Re: Is there a debugger ???

2001-08-08 Thread J Smith
For PHP 4, I believe you need to purchase the Zend Debugger from Zend. It comes as part of the Zend Developer's Suite. J Peter Dowie wrote: > Hi, > > I noticed in php.ini there was a setion for debugger, I tried enabling > this and connecting to the specified port, but no joy. > Anyone know

Re: [PHP] Re: Is there a debugger ???

2001-08-08 Thread Alexander Wagner
J Smith wrote: > For PHP 4, I believe you need to purchase the Zend Debugger from > Zend. It comes as part of the Zend Developer's Suite. There is also a free debugger. http://dd.cron.ru/dbg/ regards Wagner -- Madness takes its toll. Please have exact change. -- PHP General Mailing List (htt

Re: [PHP] array + checkbox

2001-08-08 Thread Colin Viebrock
> You will need some javascript to handle the checkbox' > onchange event because when the user clicks the > checkbox off and back on, the value will be 'on' - and > your if-condition will not work! Uh, no. When you submit the form, $voorraad will either be "something" or "", depending on w

Re: [PHP] MySQL connection

2001-08-08 Thread Attila Strauss
hi, there are 2 ways. 1. you hardcore the user/password in the php.ini file. 2. u do a simply error checking like : of course you could also do like kindaheader("Location: http://host";); instead of print "connection failed". i hope i could help you. best regards attila strauss >

[PHP] RE: newbie

2001-08-08 Thread Attila Strauss
hi, try this: track.sql CREATE TABLE table_track ( tid int(11) NOT NULL auto_increment, ip varchar(15) NOT NULL, PRIMARY KEY (tid), UNIQUE tid (tid), KEY tid_2 (tid) ); # that would insert the users ip into the table table_track ... check it out... i hope i c

[PHP] include, chmod, password files

2001-08-08 Thread David Hill
Hello If I have a file called db.inc with, for example, this: I have a my index.php do a include('db.inc'); ok, that works. However, any user on the system can read db.inc cause its chmod'd 0644. If I chmod db.inc 0600 or even 0640, index.php can not include it. How do I go about protecting

Re: [PHP] session problems when calling within a class.

2001-08-08 Thread Sean C. McCarthy
Hi, I got the same problem but i left it (had no more time to fumble around with it). But try this, because it was what I was going to try: function ccsession($userid = '1', $groupid = '1', $authid = '1', $username = 'guest', $first_name = 'Guest', $last_name = 'Account') { global $H

[PHP] Re: Solaris/Apache/PHP load problem (solved)

2001-08-08 Thread Peter Ostry
On Dienstag, August 7, 2001, at 12:04 Uhr, Peter Ostry wrote: > bash-2.03# /usr/apache/bin/apachectl start > Syntax error on line 244 of /etc/apache/httpd.conf: > Cannot load /web/libexec/libphp4.so into server: ld.so.1: > /usr/apache/bin/httpd: fatal: /web/libexec/libphp4.so: open failed: No >

RE: [PHP] include, chmod, password files

2001-08-08 Thread Johnson, Kirk
> If I have a file called db.inc with, for example, this: > > However, any user on the system can read db.inc cause its > chmod'd 0644. > If I chmod db.inc 0600 or even 0640, index.php can not include it. > > How do I go about protecting my files from being read by > users on the system? Belo

Re: [PHP] include, chmod, password files

2001-08-08 Thread David Hill
On Wed, 8 Aug 2001 12:03:34 -0600 "Johnson, Kirk" <[EMAIL PROTECTED]> wrote: > > If I have a file called db.inc with, for example, this: > > > > However, any user on the system can read db.inc cause its > > chmod'd 0644. > > If I chmod db.inc 0600 or even 0640, index.php can not include it. >

RE: [PHP] Session problem

2001-08-08 Thread Chad Day
No, as the way I'm getting around this right now is I'm -using- cookies. Plus, I gave the URL, so you guys could see what is happening .. it's not a client-side issue. Sorry if I sound frustrated, but I really am at this point. :) The URL again is: http://www.militarycity.com/classified/realtors

[PHP] Act NOW -- The whole world will want this!

2001-08-08 Thread orbit
The most PHENOMENAL WORLDWIDE EXPLOSION ever seen ... with any PRODUCT in DIRECT SALES! You're about to discover the most exciting and Built-to-Last Opportunity ever!  One that will enable YOU to earn money QUICKLY, GLOBALLY and for the REST OF YOUR LIFE! An Entrepreneur's dream. This message

RE: [PHP] Session problem

2001-08-08 Thread Johnson, Kirk
> > > > > session_start(); > > > global $count; > > > session_register ("count"); > > > $count++; > > > ?> > > > > > > Hello visitor, you have seen this page > > $HTTP_SESSION_VARS["count"]; ?> times. There was a bug in PHP in versions prior to 4.0.6: $count and $HTTP_SESSION_VARS["count"] did

[PHP] form validataion?

2001-08-08 Thread Kurth Bemis
i want to do form validation server side...not client side.. i'm wondering what programers use to validate form data.if loopsarrays? what? ~kurth -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

RE: [PHP] Session problem

2001-08-08 Thread Chad Day
Still not working. My script is -exactly- as you have it below, and I believe I've tried that before. (begins pulling out hair) Chad -Original Message- From: Johnson, Kirk [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 2:31 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Sessi

RE: [PHP] Session problem

2001-08-08 Thread Chad Day
What it looks like it is doing to me, if you hit the script and reload it a bunch, is it creates a session, sticks with it for a while, then dumps it .. it then creates another session, starts over at 1, and begins counting up.. then sometimes it will see the old session, and go back to it .. Lik

[PHP] Re: include, chmod, password files

2001-08-08 Thread David Serrano
You could either rename the file with a .php extension or you can have it so the server treats .inc files like php files. "David Hill" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello > > If I have a file called db.inc with, for example, this: > > // db.i

[PHP] PHP in corporate settings?

2001-08-08 Thread Jeff Lewis
I still rarely ever see PHP mentioned in job listings and the like. Especially here in Canada I find it very hard to find any kinds of contacts for companies using PHP. My previous employer that I was with for 3+ years insisted on Micro$oft products and wanted to go with ASP. My current empl

[PHP] Re: form validataion?

2001-08-08 Thread J Smith
The whole set of is_* functions are useful, like is_numeric() and is_string() and such. Regular expressions are also mega-useful if you want data to be in a very specific format, like email addresses and such. isset() is also a good function to call at the beginning of your validation funct

RE: [PHP] Session problem

2001-08-08 Thread Johnson, Kirk
> What it looks like it is doing to me, if you hit the script > and reload it a > bunch, is it creates a session, sticks with it for a while, > then dumps it .. > it then creates another session, starts over at 1, and begins > counting up.. > then sometimes it will see the old session, and go b

RE: [PHP] 3rd include

2001-08-08 Thread Drew P. Vogel
You're right. It is not discuessed there. My memory served me incorrectly. In index.php (the file loaded by php), 'echo( $HTTP_POST_VARS["last_name"] );' will print the variable contents, but in save_script.php (the 3rd file included) the same function call will print nothing. Am I mis understan

RE: [PHP] 3rd include

2001-08-08 Thread Mark Roedel
> -Original Message- > From: Drew P. Vogel [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 08, 2001 2:19 PM > To: Mark Roedel > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP] 3rd include > > > You're right. It is not discuessed there. My memory served me > incorrectly. > > In index.ph

RE: [PHP] Is there a debugger ???

2001-08-08 Thread Kurt Lieber
http://www.php.net/manual/en/debugger.php > -Original Message- > From: Peter Dowie [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 08, 2001 9:48 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Is there a debugger ??? > > > Hi, > > I noticed in php.ini there was a setion for debugger,

[PHP] RANDOM

2001-08-08 Thread Kyle Smith
Could somebody please show me, send me an example or redirect me to a page which shows how to show a random FLASH movie from a text file which contains different names of different movies so that when i go on the page it shows lets say, 1 of the 5 movies in the text document. Finally and almos

RE: [PHP] MySQL connection

2001-08-08 Thread Matthew Loff
Ha ha... "hardcore the user/password" Sorry... I realize you gave a good answer, just had to laugh. :) -Original Message- From: Attila Strauss [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 1:33 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] MySQL connection hi, there

RE: [PHP] form validataion?

2001-08-08 Thread Matthew Loff
Usually if-statements and regex's are used to validate data... If you just want to make sure the form is filled out completely, you could do this: (which is how I do it) if(empty($name) || empty($address) || empty($phone)) { // Form is not complete echo 'Name: \n"; echo '

RE: [PHP] 3rd include

2001-08-08 Thread Drew P. Vogel
If a file is included from within a function, this would limit the variable cope of this file, correct? --Drew Vogel On Wed, 8 Aug 2001, Mark Roedel wrote: >> -Original Message- >> From: Drew P. Vogel [mailto:[EMAIL PROTECTED]] >> Sent: Wednesday, August 08, 2001 2:19 PM >> To: Mark Roe

RE: [PHP] 3rd include

2001-08-08 Thread Mark Roedel
> -Original Message- > From: Drew P. Vogel [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 08, 2001 3:14 PM > To: Mark Roedel > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP] 3rd include > > > If a file is included from within a function, this would limit the > variable cope of this fil

[PHP] you might like this

2001-08-08 Thread Steve Wright
> For those of you with a scientific disposition some Theories to ponder > over . especially the cat one > > An American magazine held a competition, inviting its readers to submit > new scientific theories on ANY subject. Below are the winners: > > 5th place (Subject: Probability Theory) >

RE: [PHP] Session problem

2001-08-08 Thread Johnson, Kirk
> What it looks like it is doing to me, if you hit the script > and reload it a > bunch, is it creates a session, sticks with it for a while, > then dumps it .. > it then creates another session, starts over at 1, and begins > counting up.. > then sometimes it will see the old session, and go b

RE: [PHP] 3rd include

2001-08-08 Thread Matthew Loff
For reference, in case anyone cares-- from within functions, I usually just do: global $HTTP_POST_VARS; extract($HTTP_POST_VARS); ...to account for the scope of the form vars. -Original Message- From: Mark Roedel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 4:08 PM To:

RE: [PHP] 3rd include

2001-08-08 Thread Drew P. Vogel
Ok. That is it. Sorry for the confusion and thank you for the help. --Drew Vogel On Wed, 8 Aug 2001, Mark Roedel wrote: >> -Original Message- >> From: Drew P. Vogel [mailto:[EMAIL PROTECTED]] >> Sent: Wednesday, August 08, 2001 3:14 PM >> To: Mark Roedel >> Cc: [EMAIL PROTECTED] >> Subj

Re: [PHP] RANDOM

2001-08-08 Thread Greg Donald
On Wed, 8 Aug 2001, Kyle Smith wrote: > Could somebody please show me, send me an example or redirect me to a page which >shows how to show a random FLASH movie from a text file which contains different >names of different movies so that when i go on the page it shows lets say, 1 of the 5 >mov

[PHP] regexps

2001-08-08 Thread Kurth Bemis
i need to find out if a string (user imputed) conatins numbers. I want only a-zA-Z to be in a field. (their name for exampleand city)...i have the following however my regexps are VERY weak as i am a beginner. function validatetext($text){ if (is_string($text)== 1){

[PHP] last modification time

2001-08-08 Thread BRACK
Is there any function that can fetch a time of last modification of the remote document. For example I have a links based on the MySQL database, and I want to know what linked site was most resently renewed. Thank you Youri -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Emulating a POST

2001-08-08 Thread Brandon Orther
Hello, I have used perl to emulate a post with LWP:UserAgent I am looking for the same effect in php. Does anyone know how I can do this? Thank you Brandon

RE: [PHP] Emulating a POST

2001-08-08 Thread Jack Dempsey
www.php.net/curl jack -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 4:51 PM To: PHP User Group Subject: [PHP] Emulating a POST Hello, I have used perl to emulate a post with LWP:UserAgent I am looking for the same effect in php.

RE: [PHP] regexps

2001-08-08 Thread scott [gts]
here are two regexps that might do what you want "\w" matches alphanum (1-9a-zA-z) IMO, the best way to check for non-alphanum chars is to check for "\W" (upper case is negation of alphanum, which will match only non-alphanum). if (preg_match('/^\w+$/', $data)) { print "entirely alpha

Re: [PHP] regexps

2001-08-08 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Scott) wrote: > here are two regexps that might do what you want > > "\w" matches alphanum (1-9a-zA-z) (0-9a-zA-Z_) actually. Don't forget that zero and underscore! > IMO, the best way to check for non-alphanum chars is > to check for "\W" (

[PHP] register_shutdown_function and a MySQL query keeping connection with browser.

2001-08-08 Thread Jeff Bearer
I've been working with register_shutdown_function() to have the browser kick of a long running script and move on to other tasks. I was having problems where the browser would sit and spin untill the function was done running, then would display the page. I tinkered with flush and fflush (i'm w

Re: [PHP] last modification time

2001-08-08 Thread Matt Kaufman
What I do is put a timestamp in the database, using the time(); function, select it and format it. Matt Kaufman - Original Message - From: "BRACK" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 08, 2001 1:40 PM Subject: [PHP] last modification time > Is there any fu

[PHP] [PHP-WIN] Binary GD Library for W2K

2001-08-08 Thread ignacio . estrada
Hi All, some partner in the world has the GD binaries ?, please don't doubth in tell me, I neeed it. Or let me know som shortcut way to get it. Thanks in advance !! Atte. Ignacio Estrada F. Centro Nacional de Control de Energia Area de Control Occidental 025+6463, 025+6464, 025+6469 -- PHP

Re: [PHP] last modification time

2001-08-08 Thread Bjorn Van Simaeys
Hey, This is not what BRACK a.k.a. Youri meant (it seems that Youri is being misunderstood daily...) He meant that if you can see when the remote server pages have been updated by their respective webmaster. I personally don't think that there is a way you can get this information from *ANOTHER

[PHP] Re: PHP in corporate settings?

2001-08-08 Thread Inércia Sensorial
I don't think the problem is the open source nature. Corporate people usually do not see flaws on it. But they do not see the advantages too because there is little advertising. -- Julio Nobrega. 2B||!BB - That's the question. "Jeff Lewis" <[EMAIL PROTECTED]> wrote in message 00dd01c1203b

Re: [PHP] Re: PHP in corporate settings?

2001-08-08 Thread Bjorn Van Simaeys
That's right. I have been working for a large computer company (2800 people), and my project manager had never even heard about PHP and such. Bjorn Van Simaeys --- Inércia Sensorial <[EMAIL PROTECTED]> wrote: > I don't think the problem is the open source > nature. Corporate people > usually

[PHP] exec a perl script

2001-08-08 Thread Alien8 Recordings
Hi, I am another person having trouble with the exec command. It has worked for me in the past, but not with the perl script I'm trying to exec today. Here is my code: $command ="/home/kyelateas/cgi-bin/test.pl"; exec($command, $return, $status); if ($return) {

[PHP] Bad SetCookie code or Bad Internet Explorer 4.0??

2001-08-08 Thread Jeff Gannaway
Here's the deal: I swear this code worked to set a Cookie on IE 4.0 for weeks. Now when I went back to the site, it isn't setting the cookie. I isolated the script into its own file with nothing else before or after and am still having no luck. Here's what I've tried: * Clearing the cache an

Re: [PHP] Bug?

2001-08-08 Thread \[osd.dk\] Tais M. Hansen
Hi again, I can't really see much difference in the example you gave? But if it may have something to do with the "casting of an unknown fraction to int", I'll use floor() instead of casting. Same result: floor((8.85-8)*100) = 84 I find that quite odd. I tried a few variations: floor((8.85-8.

Re: [PHP] Alternate way of calling php scripts

2001-08-08 Thread Daniel James
I play with this lots, good fun.. Path: the title of the page will contain the path you typed.. Twigman... On 2001.08.08 23:13 Evan Nemerson wrote: > I seem to recall that you can call a PHP script with a slash after it > then > variables. For instance http://localhost/script.ph

Re: [PHP] regexps

2001-08-08 Thread Daniel James
if (preg_match("/\d/", $data) { print 'The $data contained a number'; } On 2001.08.09 07:05 scott [gts] wrote: > here are two regexps that might do what you want > > "\w" matches alphanum (1-9a-zA-z) > > IMO, the best way to check for non-alphanum chars is > to check for "\W" (upper cas

[PHP] Cannot Set ExpireTime in a cookie

2001-08-08 Thread Jeff Gannaway
This is a follow-up to my previous cookie post. I discovered that the bit that Internet Explorer 4.0 didn't recognize a cookie as valid when I included an expiration time. This Works: setcookie ("ArtPrintSession",$SessionID); This Doesn't Work: setcookie ("ArtPrintSession",$SessionID,time()+360

[PHP] htaccess & php

2001-08-08 Thread Chris Kay
Hi My question is that i am about to start a database and i have been asked to make the login/password like htaccess, now they also want to be able to modify passwords ect so i was going to do it with mysql. I have seen or been told that there is something where you can use sql/php and

[PHP] last modification time

2001-08-08 Thread Bjorn Van Simaeys
For your information... --- The http header contains the modification date: Last-Modified: Tue, 26 Jun 2001 03:46:20 GMT do this, telnet www.somehost.com 80 wait till it does this: Trying 203.52.23.1... Connected to www.somehost.com. then type this: HEAD /path/to/file/or/directory/ HTTP/1.0

Re: [PHP] htaccess & php

2001-08-08 Thread Daniel James
You are looking for HTTP Authentication... http://www.php.net/manual/en/features.http-auth.php Twigman... On 2001.08.09 09:49 Chris Kay wrote: > > Hi > > My question is that i am about to start a database and i have been asked > to > make the login/password like htaccess, now they also want t

RE: [PHP] Emulating a POST

2001-08-08 Thread Tyrone Mills
I use CURL... Works beautifully... -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 1:51 PM To: PHP User Group Subject: [PHP] Emulating a POST Hello, I have used perl to emulate a post with LWP:UserAgent I am looking for the same ef

Re: [PHP] htaccess & php

2001-08-08 Thread Chris Kay
ok Thanks dude i'll start there At 10:01 AM 8/9/01 +1000, Daniel James wrote: >You are looking for HTTP Authentication... >http://www.php.net/manual/en/features.http-auth.php > >Twigman... > >On 2001.08.09 09:49 Chris Kay wrote: > > > > Hi > > > > My question is that i am about to start

[PHP] PHP Configuration issues in IIS 5.0 in win2k

2001-08-08 Thread Mikey
I can't seem to get my win2000 box to recognize the .php files. It's coming up with an error, and just reading them as test.php.txt files in explorer. How do i get this to work. I believe I've set everything up right. Could someone please email me with answers. Thanks Mike

Re: [PHP] Alternate way of calling php scripts

2001-08-08 Thread Evan Nemerson
Thanks Tim and Daniel. $PATH_INFO works perfectly. The really nice thing is I can have a form post to it... Also good call with the base href. I would probably have forgotten it and just used absolute links. -Evan Nemerson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-

Re: [PHP] Session problem

2001-08-08 Thread Yasuo Ohgaki
"Hassan El Forkani" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > indeed it's not working properly, > first of all please make sur the pages are not cashed send a header > (Cache-control: NO cache) i'm not sure about the syntax so check the manual > then try

[PHP] Re: htaccess & php

2001-08-08 Thread Inércia Sensorial
Here: http://hotwired.lycos.com/webmonkey/00/05/index2a.html?tw=programming -- Julio Nobrega. 2B||!BB - That's the question. "Chris Kay" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi > > My question is that i am about to start a database and i

Re: [PHP] weird behavior with a form

2001-08-08 Thread Richard Lynch
If they didn't click on the submit button, then they didn't click on the submit button, and it's not "set" by the browser. Check if the variable you care about inserting is set instead. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Lik

[PHP] Re: persistence variable value - help

2001-08-08 Thread Richard Lynch
&y=> -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - From: Ardani Sarjito <[EMAIL PROTECTED]> New

[PHP] Re: How to destroy a $variable

2001-08-08 Thread Richard Lynch
Don't set them to empty at the bottom of the file. Do it right after the INSERT to the database, and put the FORM below that. An unfair restaurant-recommendation script: \n"; } else{ $name = ''; } ?> -- WARNING [EMAIL PROTECTED] address is an endangered species -- Us

[PHP] Re: Postgresql + Sessions + Large objects.

2001-08-08 Thread Richard Lynch
> I am having trouble with the following function working _with_ > sessions. If I turn off my session checking function it enables you to > download the file flawlessly, if sessions are turned on then Internet > Explorer displays an error: Not sure what is going on, but try viewing the output of

Re: [PHP] Reading with C 'struct' data

2001-08-08 Thread Richard Lynch
> struct BACACHE > > char author[300][100]; > int top; > time_t uptime; > time_t touchtime; > int busystate; > }; > > is there any way to get these data into PHP with certain variable type ? > > I've tried to use " unpack() " function, but I found that unpack() can't > unpack a char array ( I mea

[PHP] Re: Converting HTTP_POST_VARS to HTTP_SESSION_VARS !

2001-08-08 Thread Richard Lynch
> session_start(); > while ( list($name,$value) = each($HTTP_POST_VARS)) { > if (is_array($value)) { > for($x=0;$x session_register('$name'); No. This will register a variable whose name is literally '$name' over and over, which (A) is not what you want and (B) $name isn'

[PHP] Re: chmod

2001-08-08 Thread Richard Lynch
> We have do the following : > % vadduser > > user Configuration > -- > Username: test > Password: test > Fullname: test > UID:35647 > Groups: test > Home Dir: /ftp/test > > % dir > drwxrwxr-x c myname vkernel512 AUG 5 11:27 test > >

Re: [PHP] most recent 5 rows

2001-08-08 Thread Richard Lynch
> Or, you could do two steps > > 1) retrieve the last inserted ID, with mysql_last_inserted_ID (or > something like that). > > 2) then, all records with id(s) greater then the_last_id_number minus > five. > > something like > > $most_recent = select mysql_last_id(); > > select * from TA

[PHP] Re: Cookies and servers problems

2001-08-08 Thread Richard Lynch
Check that you still have register_globals on/off in php.ini as before, and that your GPC ordering is the same. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: h

[PHP] Re: Update a SESSION_VAR on form submit

2001-08-08 Thread Richard Lynch
If I hit reload and re-post the same data, you'll need to detect that somehow... Put a unique HIDDEN variable in your FORM, log it to the database when you see it, and if you see it a second time, don't increment $Stage. The other possiblity is to use: > Any reload will simply pass back the sa

[PHP] Re: PHP & JAVA: Odd Behavior

2001-08-08 Thread Richard Lynch
Since nobody has responded, I'd suggest http://bugs.php.net is your next step. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm

[PHP] Re: include path syntax for php.ini under windows

2001-08-08 Thread Richard Lynch
Use / instead of \, or try \\ or... Also show us the full line for your include_path, not just the value. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://

Re: [PHP] file downloads

2001-08-08 Thread Richard Lynch
View your Apache logs after doing these mods, just in case the database has died after your testing that worked: It's also good to have these lines stay in there so you can debug later... > mysql_connect("localhost","user","pass"); ... or error_log(0, "Could not connect to database in " . __F

RE: [PHP] [PHP-WIN] Binary GD Library for W2K

2001-08-08 Thread SED
Check this out -> http://php4win.de/ SED -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 8. ágúst 2001 21:46 To: [EMAIL PROTECTED] Subject: [PHP] [PHP-WIN] Binary GD Library for W2K Hi All, some partner in the world has the GD binaries ?, please don't dou

[PHP] Resize Picture

2001-08-08 Thread Mark Lo
Hi, I would like to know ..is it possible to let my client resize the picture from the browser instead of having a default height and width. If yes, can you give me some idea of how to do it. Thanks Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] Resize Picture

2001-08-08 Thread Daniel James
try this... Image width: Image height: hope that's what you meant. Twigman... On Thu, 9 Aug 2001, Mark Lo wrote: > Hi, > > I would like to know ..is it possible to let my client resize the > picture from the browser instead of having a defau

[PHP] CGI error

2001-08-08 Thread karthik
Hi, I am running PHP 4.06 on Windows 2000 with IIS 5. I am running PHP in CGI mode. I seem to be getting "CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: " Why is this error happening ? Please dont ask me to sh

[PHP] Paypal & instant payment notification

2001-08-08 Thread Erica Douglass
Hello, I have a customer who wants to implement Paypal instant payment notification on his website. Basically, he wants a script that emails a custom message once a customer purchases an item. Instant Payment Notification has the ability to do this. However, I have a couple of questions: -- Is

RE: [PHP] code to see files in directories

2001-08-08 Thread Karl Phillipson
p.s this script came from: // PHP Spider Trapper // Copyright 2000 MassTraffic.com // Unlimted Usage Granted By _Owner_ // You May Use the Program For Free // Under the CAREWARE liceanse. // Which states that you may use // the product for free as long // as you are happy and take care // of ea

RE: [PHP] Paypal & instant payment notification

2001-08-08 Thread Jason Murray
> To me, this seems kind of like a hack -- i.e. there should be a better > way to do this, perhaps as part of a (free or low-cost) shopping cart > and payment prcoessing system. Also, there seems to be no way to test > this without sending the Paypal user money. (I am going to contact > Paypal

[PHP] I need everyones opinon!

2001-08-08 Thread Scott Mebberson
Hi Guys, When naming classes and function's within the class(and even functions(probably more so?)) do you use a common string infront of everything? For example HM_function_name() The reason I am asking is because what if you want to easily intergrate a class/function with lots of other classes

<    1   2