Re: [PHP] SESSION array problems

2008-10-01 Thread Henrik Hudson
you retrieve it? I still see an index mixing issue here for you. However, on a side note, why don't you create user objects and then just stick the object(s) in the $_SESSION array? Then just while() loop the session and pull the objects out. Henrik -- Henrik Hudson [EMAIL PROTECTED

Re: [PHP] gethostbyname failing?

2006-11-10 Thread Henrik Hudson
On Thursday 09 November 2006 21:28, Chris [EMAIL PROTECTED] sent a missive stating: Henrik Hudson wrote: Thanks for the input everyone. It seems it Apache itself can't do lookups either (ie: Hostnamelookups On ..doesn't actually do anything..so, going to hunt down the issues inside

Re: [PHP] gethostbyname failing?

2006-11-10 Thread Henrik Hudson
on or DNS lookups inside the php module is was generating 0 DNS requests to anywhere. Now, with 1.3 installed dnstop is showing plenty of traffic. \On Thursday 09 November 2006 15:27, Henrik Hudson [EMAIL PROTECTED] sent a missive stating: Hey List- running: apache 2.2, freebsd 6.2 and php

[PHP] gethostbyname failing?

2006-11-09 Thread Henrik Hudson
is working works fine. Running that script from the CLI is fine (ie: php test.php). However, when running from the web it doesn't work. I tried it on a php 5.1.x box and it works fine there. Thoughts? Henrik -- Henrik Hudson [EMAIL PROTECTED] -- God, root, what

Re: [PHP] gethostbyname failing?

2006-11-09 Thread Henrik Hudson
On Thursday 09 November 2006 15:56, J├╝rgen Wind [EMAIL PROTECTED] sent a missive stating: Henrik Hudson wrote: Hey List- running: apache 2.2, freebsd 6.2 and php 4.4.4 I've got a wierd issue. I've got a script that does this: $domain = www.google.com; $ip = gethostbyname

Re: [PHP] gethostbyname failing?

2006-11-09 Thread Henrik Hudson
files, so..I don't know...perl scripts and php from the CLI work fine..so my actual DNS resolution is working okay..just Apache is losing it somewhere...if anyone has some thoughts..let me know :) On Thursday 09 November 2006 15:27, Henrik Hudson [EMAIL PROTECTED] sent a missive stating: Hey List

Re: [PHP] I need answers for the questions

2003-11-18 Thread Henrik Hudson
/docs-2.0/ 10. Write a function in PHP script to check whether string is a valid email id or not? Lookup email and regular expression checking. About 10 examples are here as well: http://us2.php.net/ereg Henrik -- Henrik Hudson [EMAIL PROTECTED] `If there's anything more important than my

Re: [PHP] E-mail Gateway

2003-11-18 Thread Henrik Hudson
or even better, C. PHP is really meant to run via a web browser and what you're talking about is all backend code. Look into playing with procmail and Perl or C. Henrik -- Henrik Hudson [EMAIL PROTECTED] `If there's anything more important than my ego around, I want it caught and shot now

Re: [PHP] ereg_replace help

2003-11-18 Thread Henrik Hudson
first and then replace...but my regex skills aren't top notch either :) Henrik -- Henrik Hudson [EMAIL PROTECTED] `If there's anything more important than my ego around, I want it caught and shot now.' --Hitchhikers Guide to the Galaxy -- PHP General Mailing List (http://www.php.net

[PHP] PHP and PayFlow Pro Issues

2003-11-17 Thread Henrik Hudson
as does passing arguments to the pfpro binary directly, but I would prefer to work from within the library and not do system calls. Any suggestions on where to look? or solutions? Did I just miss a step in installation? Thanks. Henrik -- Henrik Hudson [EMAIL PROTECTED] `If there's anything more

Re: [PHP] unsuscribe

2003-10-05 Thread Henrik Hudson
-- Henrik Hudson [EMAIL PROTECTED] `If there's anything more important than my ego around, I want it caught and shot now.' --Hitchhikers Guide to the Galaxy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Shopping Cart Solutions

2003-09-22 Thread Henrik Hudson
you might be better off starting from another codebase. That being said..if you're looking for an OSS program which works well for what it's meant to be..a full featured shopping cart solution..then look no further. Henrik -- Henrik Hudson [EMAIL PROTECTED] `If there's anything more important

[PHP] PHPSESSID Length?

2003-06-29 Thread Henrik Hudson
or shorter. Can't seem to find anything in the archives or Google. Then again, is a 32-length string sufficient for protecting a browser session length of session? Thanks. Henrik -- Henrik Hudson [EMAIL PROTECTED] `If there's anything more important than my ego around, I want it caught and shot

Re: [PHP] spawning new window with PHP

2003-06-10 Thread Henrik Hudson
generating the page. Basically the same way you print out HTML code with PHP variables in it. Henrik -- Henrik Hudson [EMAIL PROTECTED] `If there's anything more important than my ego around, I want it caught and shot now.' --Hitchhikers Guide to the Galaxy -- PHP General Mailing List (http

Re: [PHP] Self-filling login form

2003-04-03 Thread Henrik Hudson
the checkboxes. Henrik -- Henrik Hudson [EMAIL PROTECTED] `If there's anything more important than my ego around, I want it caught and shot now.' --Hitchhikers Guide to the Galaxy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Devel Environments???

2003-03-20 Thread Henrik Hudson
question their quality for open ended stuff like writing PHP. Thanks. Henrik -- Henrik Hudson [EMAIL PROTECTED] You know, Hobbes, some days even my lucky rocket ship underpants don't help. Calvin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] adding unix account via system command

2002-09-18 Thread Henrik Hudson
in with uid=n and passwd=n and it was ok) What's wrong with those scripts. It DOESN'T even create the user timtom752002. Please help -- Henrik Hudson [EMAIL PROTECTED] Note: Beware of Dragons - Thou art crunchy and taste good with ketchup. -- PHP General Mailing List (http

Re: [PHP] header() problem!!!!

2002-09-11 Thread Henrik Hudson
else now! -- Henrik Hudson [EMAIL PROTECTED] Note: Beware of Dragons - Thou art crunchy and taste good with ketchup. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] IPlanet Webserver

2002-09-11 Thread Henrik Hudson
-- Henrik Hudson [EMAIL PROTECTED] Note: Beware of Dragons - Thou art crunchy and taste good with ketchup. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using HTTP Referer

2002-09-11 Thread Henrik Hudson
-- Henrik Hudson [EMAIL PROTECTED] Note: Beware of Dragons - Thou art crunchy and taste good with ketchup. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] chmod error?

2002-04-10 Thread Henrik Hudson
be great... John -- -- Henrik Hudson [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Having a problem with sessions, Part Deux.

2002-01-21 Thread Henrik Hudson
I am using files on both systems. The session files are also showing up on both systems. (/tmp) On Monday 21 January 2002 08:15, Jaime Bozza wrote: Henrik, Which session handler are you using? Files, mm, User? Jaime Bozza -Original Message- From: Henrik Hudson [mailto

[PHP] Having a problem with sessions?

2002-01-20 Thread Henrik Hudson
not retaining the variable. Any ideas anyone? Thanks list. Henrik -- Henrik Hudson [EMAIL PROTECTED] -- 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] Having a problem with sessions, Part Deux.

2002-01-20 Thread Henrik Hudson
variables are inherited? When register_globals is off, the code works great. Could someone explain why that is? That'd be great :) I would have thought that you can still access the HTTP_SESSION_VARS even if globals is on? Thanks. Henrik On Sunday 20 January 2002 15:12, Henrik Hudson wrote

[PHP] httpd.conf config options?

2002-01-18 Thread Henrik Hudson
it so that VirtualHost logs to the screen? Thanks list. Henrik -- Henrik Hudson [EMAIL PROTECTED] -- 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

Re: [PHP] Re: HTTP_POST_VARS and eval?

2001-11-16 Thread Henrik Hudson
]; The fact that you are actually evaluating an assignment is I think irrelevant, it's just the variable substitution that's failing. See the variable parsing section of http://www.php.net/manual/en/language.types.string.php George Henrik Hudson wrote: Hey List- Working on a program and I seem

[PHP] HTTP_POST_VARS and eval?

2001-11-15 Thread Henrik Hudson
= $form_data . $line; } exit; Thanks! Henrik -- Henrik Hudson [EMAIL PROTECTED] -- 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] Re: HTTP_POST_VARS and eval?

2001-11-15 Thread Henrik Hudson
] and their email is $HTTP_POST_VARS[email] - On Thursday 15 November 2001 18:20, Richard Lynch wrote: Henrik Hudson wrote: So, its having problems doing an eval on the HTTP_POST? If I replace the HTTP_POST stuff with just$\\1 and then define

Re: [PHP] editor for working with php

2001-10-30 Thread Henrik Hudson
] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Henrik Hudson [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: [PHP] Where does mysql keep the records data

2001-10-29 Thread Henrik Hudson
, Name varchar(50), ListOrder int(11) DEFAULT '0' NOT NULL, Removed int(1) DEFAULT '0' NOT NULL, PRIMARY KEY (ID) ); mysql INSERT INTO eZAddress_AddressType VALUES (1,'Home address',1,0); ERROR 1062: Duplicate entry '1' for key 1 Where dat data at? -- Henrik Hudson [EMAIL

Re: [PHP] how to pass true/false or no argument

2001-10-29 Thread Henrik Hudson
parameter not passed? Do I use isset()? Do I use ===? Thanks. -- Henrik Hudson [EMAIL PROTECTED] -- 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

Re: [PHP] Using php to verify fields in form...

2001-10-29 Thread Henrik Hudson
. Anyone know how i can accomplish this? Thanks in advance, Jason -- Henrik Hudson [EMAIL PROTECTED] -- 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

Re: [PHP] switch-statement overrides use of global arrays?

2001-10-28 Thread Henrik Hudson
); } -- Henrik Hudson [EMAIL PROTECTED] -- 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] switch-statement overrides use of global arrays?

2001-10-28 Thread Henrik Hudson
. Alas, this also emptied the array each time I went from one function to another via the switch statement. I guess I am trying something that is just not possible (when I insist on using the switch statement)? -- Henrik Hudson [EMAIL PROTECTED] -- PHP General Mailing List (http

Re: [PHP] One last kick at the cat

2001-10-28 Thread Henrik Hudson
,$myconnection); $news = mysql_query(SHOW TABLE STATUS FROM .$db. LIKE '$table'); while ($news_story = mysql_fetch_array($news)) { $table_comment = $news_story['Comment']; } echo $table_comment; //echo Nothing; } ? -- Henrik Hudson [EMAIL PROTECTED] -- PHP General

[PHP] UpLoading Large Files?

2001-08-31 Thread Henrik Hudson
Afternoon List- I have been burrowing through archives and newsgroups for awhile now and have been trying to find some info on a better way to upload files from a browser then doing HTTP based uploads? Are there any? My system: PIII 750, 128MB RAM running FreeBSD 4.2 and Apache 1.3.20, PHP

[PHP] How to Return a Real Filename?

2001-08-30 Thread Henrik Hudson
Morning List- I have a script which gets passed a fileID and using that fileID it queries a SQL database and grabs an actual filename and then does a fopen, fpassthru, etc I added the header info (application/octet-stream) so it actually downloads the file right away, instead of just

FYI: Re: [PHP] How to Return a Real Filename?

2001-08-30 Thread Henrik Hudson
FYI: Since this may be a problem for others, I did figure it out sort of. If my script is called: filereturn.php I pass this in my HREF: A HREF=filereturn.php/filename.exe?fileID= I don't know if this is a hack or whatever, but Netscape (NIX and Windoze) and IE on Mac will now save the