Re: [PHP] How to attach files with mail

2001-01-22 Thread Ernest E Vogelsinger
] Have you checked the rights the PHP-User has on the directory and file? ...ebird O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13394035 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] Netscape caching problem

2001-01-22 Thread Ernest E Vogelsinger
[snip] You're missing a double quote at the gmdate phrase. Use header("Expires: " . gmdate("D, d M Y H:i:s") . " GMT"); ...ebird O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13394035 -- PHP G

RE: [PHP] Search Engines and PHP

2001-01-23 Thread Ernest E Vogelsinger
to the 404 handler. Within the 404 handler, parse the url, extract the session id and parameters, and execute the theapp.php file. Just as an example, ...ebird O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13394035 -- PHP General Mailing List (http

Re: [PHP] Genuine Opportunity

2001-01-25 Thread Ernest E Vogelsinger
ever tried or consideredmaking money using the medium of the internet? Are you marketing or promoting a business opportunity or product [trash] ...ebird O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13394035

Re: [PHP] whois

2001-01-25 Thread Ernest E Vogelsinger
195.130.35.5 SAVA.UTIC.NET.BA 195.130.35.3 NS.EU.NET192.16.202.11 NS.RIPE.NET 193.0.0.193 AUTH03.NS.UU.NET 198.6.1.83 MUNNARI.OZ.AU128.250.1.21 ...ebird O Ernest E. Vogelsinger

Re: [PHP] IIS and PHP authorization

2001-01-29 Thread Ernest E Vogelsinger
a filter, and crashed being used as MIME plugin latest at the 6th page access. ...ebird O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13394035 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] length limit of URL?

2001-03-03 Thread Ernest E Vogelsinger
implementations might not properly support these lengths. ...ebird O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13394035 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [PHP] passing variables

2001-03-03 Thread Ernest E Vogelsinger
and register the data to be remembered with the session, it will be available when the browser comes back again (and presents the appropriate PHPSESSID value, of course). ...ebird O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13394035 -- PHP General Mailing

Re: [PHP] Converting String to Variable

2001-03-03 Thread Ernest E Vogelsinger
$str = "blah"; print $monday; ...ebird O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13394035 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To cont

Re: [PHP] Problems with IIS4 (Win2k)

2001-03-03 Thread Ernest E Vogelsinger
for .php extensions: Executable: %phppath%\php.exe %s %s Both "%s" must exist, or PHP will do nothing at all. ...ebird O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13394035 -- PHP General Mailing List (http://www.php.net/) To unsubsc

Re: [PHP] are sessions single threaded?

2001-03-06 Thread Ernest E Vogelsinger
...ebird O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13394035 -- 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] session_start

2001-03-07 Thread Ernest E Vogelsinger
manual talks about php4 syntax only. How am I going to do that? [snip] do nothing, PHP will assign the value for you. ...ebird O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13394035 -- PHP General Ma

Re: [PHP] MySQL problem - stumped

2001-03-10 Thread Ernest E Vogelsinger
d of "", this should work as intended... ...ebird O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13394035 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] isset()

2001-02-22 Thread Ernest E Vogelsinger
At 19:07 22.02.2001, Joe Stump said: [snip] I'll take an extra bazillionth of a second to know for sure I have what I need [snip] Do you really know _how_ right you are? g ...ebird O Ernest E

Re: [PHP] Passing values containing a ? and a

2001-02-22 Thread Ernest E Vogelsinger
uot;l dS of F Y h:i:s A"); echo "a href=\"$PHP_SELF?gettime="; // this line will work everywhere echo rawurlencode($time); // this line will work with MSIE only // echo $time; echo "\""; echo $time; echo "/abrgettime = $gettime"; ? /body/h

RE: [PHP] good ide?

2001-02-27 Thread Ernest E Vogelsinger
] Visit PHPEd home page at http://www.soysal.com/PHPEd ...ebird O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13394035 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [PHP] Pulling my hair out over Netscape...

2001-02-28 Thread Ernest E Vogelsinger
. http://www.myhost.com/myapp.php?rv=0987412...other parameters Your application must ensure that the random value is as random as possible. This makes the URL "unique" and will bypass any ill-behaved cache (it won't help if the user hits the back button, of course...) ...ebir

Re: [PHP] Need an array parser(CONT)

2001-02-28 Thread Ernest E Vogelsinger
"blah2", "some_value2"))); print(showArray(null, $a); ? this should recursively go into multi-dimensional arrays and construct an output similar to your requirements. ...ebird O Ernest E. Vogelsinger

Re: [PHP] Restrict Access per IP Addresses

2001-02-28 Thread Ernest E Vogelsinger
r Enter Network: input type="text" name="network" value="?=$network?"br Enter Subnetmask: input type="text" name="subnet" value="?=$subnet?"br input type="submit" /form /body /html [snip]

Re: [PHP] Restrict Access per IP Addresses

2001-03-01 Thread Ernest E Vogelsinger
s_ip("210.176.142.255", "255.255.255.192", $REMOTE_ADDRESS)) { header("403 Forbidden"); echo "h1Access Forbidden/h1You may not come here from outside our domain"; exit(); } process_domain_app(); ? ...ebird O Ernest E. Vogelsinger (\)http:

Re: [PHP] session_destroy() fails...

2001-03-01 Thread Ernest E Vogelsinger
; session_start(); session_register($value); } ? ...ebird O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13394035 -- 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] Searchable archive

2002-12-03 Thread Ernest E Vogelsinger
This is listed at the PHP home page, when clicking on mailing lists, general/Archive(yes). -- O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] POST data

2002-12-03 Thread Ernest E Vogelsinger
right after the header. I need access to the xml blob. [snip] Not sure if this gives you the posted data, but you could try $_SERVER['QUERY_STRING']. Or simply print_r the $_SERVER array to check if it is available. -- O Ernest E. Vogelsinger

Re: [PHP] x as a multiplier

2002-12-03 Thread Ernest E Vogelsinger
;// create a string echo $s; echo \n{$a}x{$b}\n; // or print it directly ? /pre /code Output for both cases: 1024x768 1024x768 -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing

Re: [PHP] Whimper, help :)

2002-12-04 Thread Ernest E Vogelsinger
. -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Please help - uploading multiple files

2002-12-09 Thread Ernest E Vogelsinger
you need. -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] SQL Question: Search Records between two dates.

2002-12-10 Thread Ernest E Vogelsinger
www.pepiedesigns.com Providing Solutions That Increase Productivity Web Developement. Database. Hosting. Multimedia. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php [snip] -- O Ernest E

Re: [PHP] reading pre-extension file

2002-12-12 Thread Ernest E Vogelsinger
, 'preext') starting with a dot The group will contain the preextension. -- O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Passing text info using $PHP_SELF

2002-12-15 Thread Ernest E Vogelsinger
ideas? form name=\update\ method=\post\ action=\$PHP_SELF?action=changeid=$idq=input\ [snip] Most certainly register_globals is off in your php.ini file. Try using $_SERVER['PHP_SELF'] instead of $PHP_SELF. -- O Ernest E. Vogelsinger (\)ICQ

Re: [PHP] SQL: INSERT using subqueries

2002-12-16 Thread Ernest E Vogelsinger
='myUsername'; should do it (untested on mySQL) -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] needle in a haystack (Can't find :)

2002-12-16 Thread Ernest E Vogelsinger
General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php [snip] -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Re: Print bgcolors in table

2002-12-16 Thread Ernest E Vogelsinger
look like. For example, in Internet Explorer, you may go to Extras/Options/Advanced and specify to print (or not) background colors or images. In Netscape this option exists in the preferences dialog. There's no way for the page to override the agents settings. -- O Ernest E. Vogelsinger

Re: [PHP] newbie having problem with SID

2002-12-16 Thread Ernest E Vogelsinger
Hello visitor, you have seen this page ?php echo $_SESSION['count']; ? times.p To continue, A HREF=visasida.phpclick here/A -- O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Converting accented characters or numeric equivalents to non-accented

2003-01-18 Thread Ernest E Vogelsinger
... not sure if it starts on 0 or 1 that is... [snip] preg_replace('([\x80-\xff])/e', '#'.ord('\1').';', $string_to_parse); -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List

RE: [PHP] Converting accented characters or numeric equivalents to non-accented

2003-01-18 Thread Ernest E Vogelsinger
Renee Zellweger. [snip] $chars_in = array('Á',''á','É','é'); // you get it $chars_out = array('A','a','E','e'); // this too preg_replace($chars_in, $chars_out, $string_to_parse); -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http

Re: [PHP] Re: textarea new line

2003-01-23 Thread Ernest E Vogelsinger
a single line instead of: -line1 -line2 -line3 [snip] Use nl2br(), something like: echo 'textarea', nl2br(htmlentities($string)), '/textarea'; This should give you the results you need. -- O Ernest E. Vogelsinger (\)ICQ #13394035

Re: [PHP] textarea problem

2003-01-23 Thread Ernest E Vogelsinger
its value outside the tag, without an attribute, just plain: Print 'textarea name=OrgAddress cols=44 rows=5 id=textarea', htmlspecialchars($row['OrgName']), '/textarea'; -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General

Re: [PHP] value not displayed

2003-01-24 Thread Ernest E Vogelsinger
. but the value is displayed in php-4.2.2 version. [snip] Perhaps the 4.2.2 server is configured with register_globals on, and the 4.3.0 has set this to off? Try ?php echo $_REQUEST['abc']; ? -- O Ernest E. Vogelsinger (\)ICQ #13394035

Re: [PHP] URLencode issues - halp!

2003-01-24 Thread Ernest E Vogelsinger
we can't really tell too well :-) [snip] I believe you could even use md5() to encode the logon... would shield everything too :) -- O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http

Re: [PHP] content type header for downloading files

2003-01-29 Thread Ernest E Vogelsinger
); header(Content-Disposition: attachment; filename=.basename($fname).;); [snip] The correct Content-type is application/octet-stream. Should work with that. -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at

Re: [PHP] php and sql problem with mysql_query and insert

2003-01-29 Thread Ernest E Vogelsinger
, even if I populate all columns. If by chance your table structure will change (using ALTER TABLE) your insert statement will break. -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] using custom button instead of standard submit form element

2003-01-29 Thread Ernest E Vogelsinger
-- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Accessing $php_errmsg give an error ...

2003-01-29 Thread Ernest E Vogelsinger
(warning prone) and will be overwritten immediately by the next error or warning. What you should do is something like this: global $php_errormsg; $php_errormsg = null; @run_your_script(); $err = $php_errormsg; if ($err) ... hth, -- O Ernest E. Vogelsinger (\)ICQ #13394035

Re: [PHP] test

2003-01-29 Thread Ernest E Vogelsinger
At 11:13 29.01.2003, Sol spoke out and said: [snip] test [snip] testback please provide detailed information how you received this mail so the it can be shared with the list :) -- O Ernest E. Vogelsinger

Re: [PHP] Multiple Emails

2003-01-29 Thread Ernest E Vogelsinger
for, which corresponds to the SMTP envelope RCPT address, not to the message's MIME To or Cc entries. -- O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] new

2003-01-29 Thread Ernest E Vogelsinger
At 15:51 29.01.2003, Ysrael Guzmán spoke out and said: [snip] Warning: Failed opening 'cliente.php' for inclusion (include_path='.;c:\php4\pear') in Unknown on line 0 [snip] and? -- O Ernest E. Vogelsinger

Re: [PHP] Advice on uploaded files

2003-01-29 Thread Ernest E Vogelsinger
:-) -- O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup

2003-01-29 Thread Ernest E Vogelsinger
, with register_globals on this value may be forged by passing the value as part of the url. A lot of different possibilities arise. -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup

2003-01-29 Thread Ernest E Vogelsinger
going on... Did you mention the version? Possibly there's a special build here that never allows to register globals? (config gurus chime in here please) -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http

Re: [PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup

2003-01-29 Thread Ernest E Vogelsinger
'], $_REQUEST['var2'], $_REQUEST['var3']) I just want to use $var1, $var2, $var3 [snip] You can always resort to extract($_REQUEST); -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General

Re: [PHP] content type header for downloading files

2003-01-30 Thread Ernest E Vogelsinger
quotes to make it work correctly. -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] if (a == b) ...

2003-01-30 Thread Ernest E Vogelsinger
? [snip] PHP tries to help you - you can only compare data of the same type. So PHP goes ahead and casts this for you, a string to int in this case. If you compare it using === (typesafe comparison) you will get correct results. -- O Ernest E. Vogelsinger (\)ICQ

Re: [PHP] quick question

2003-01-30 Thread Ernest E Vogelsinger
is an escape character telling PHP to take the next character literally. So if you want a backslash you need to type 2 of them: C:\Program Files\php == C:\\Program Files\\php -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List

Re: [PHP] Is there a bug in fopen() - solved, maybe

2003-01-30 Thread Ernest E Vogelsinger
on the specific port? -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] __PHP_Incomplete_Class Object

2003-01-30 Thread Ernest E Vogelsinger
Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using custom button form element instead of standard submit?

2003-01-30 Thread Ernest E Vogelsinger
your question? -- O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using custom button form element instead of standard submit?

2003-01-30 Thread Ernest E Vogelsinger
that might name-collide (which wouldn't be good anyway ;-), this will give you an array with exactly one entry if any of the buttons are clicked, be it an image (sample_a, sample_c) or a regular (sample_b) button. -- O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at

Re: [PHP] Using custom button form element instead of standard submit?

2003-01-30 Thread Ernest E Vogelsinger
']['button'].value='button_c' /form This will give you a $_REQUEST['button'] containing the button value. Note though that this doesn't work if JS has been disabled in the browser, or if the browser doesn't support JS at all. -- O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http

Re: [PHP] rename failes if file name contains single quotes

2003-01-31 Thread Ernest E Vogelsinger
? [snip] try to escape blanks and quotes: rename(/tmp/foo\ \'n bar, /tmp/foobar); generally you should escape all non-ascii characters in file names. -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP

Re: [PHP] Turn off PHP for certain directories?

2003-02-02 Thread Ernest E Vogelsinger
.php engine=off returns an apache config error. -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sessions and MD5

2003-02-02 Thread Ernest E Vogelsinger
never succeeds (except by chance that var1.var2.var3 result in 0. -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] problems with fopen

2003-02-03 Thread Ernest E Vogelsinger
Simply try $hf = fopen($filename, w); - Original Message - From: Jason Jacobs [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 03, 2003 9:30 PM Subject: [PHP] problems with fopen Afternoon all. I've been trying to write to a text file for a while. I opened it thusly:

Re: [PHP] This is getting rediculus

2003-08-20 Thread Ernest E Vogelsinger
the acknowledging mechanism doesn't really work. -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CHAT about PHP

2003-08-20 Thread Ernest E Vogelsinger
, too. And multiple!!! exclamation!!! marks!!! Yeah, that's someone I'd do business with. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php [snip] -- O Ernest E. Vogelsinger (\)ICQ

Re: [PHP] Reading an MS Access Database file on *NIX platform using PHP

2003-08-25 Thread Ernest E Vogelsinger
to be synced from MS Access to a CSV style export format, upload it to the server and process it. There are a couple of examples how to handle CSV style data on SourceForge, I believe. -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General

Re: [PHP] Array Push and Keys

2003-08-29 Thread Ernest E Vogelsinger
], //$morerows[country]=$morerows[amount]; $transactions[$row['dealercount']][$morerows['country']] = $morerows['amount']; } } Hope this helps, -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP

Re: [PHP] disable notice errors

2003-08-29 Thread Ernest E Vogelsinger
the receiving variable might be undefined if (array_key_exists('nonexisting_key', $array)) $test = $array['nonexisting_key']; // this is a simple, elegant, and even self-documenting solution $test = @$array['nonexisting_key']; -- O Ernest E. Vogelsinger (\)ICQ #13394035

Re: [PHP] Too Advanced? Re: Cookies Hidden Image

2003-09-03 Thread Ernest E Vogelsinger
the cookie to begin with), the cookie has the value that it was set with. [snip] That's it - cookies will only be sent to the same domain (hostname) they have been generated at. You cannot pass cookies between domains (hostnames). -- O Ernest E

Re: [PHP] set_time_limit problem

2003-09-03 Thread Ernest E Vogelsinger
receives and sends time out. # Timeout 300 -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Usort

2003-04-03 Thread Ernest E Vogelsinger
all possibilities for A being less or equal to B // so there's only one more choice left - A is greater :) return 1; -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] directory size?

2003-04-03 Thread Ernest E Vogelsinger
could du -s . (prints kilobytes) du -s -b (prints bytes) list($dusage, $dir) = explode(' ', `du -s -b .`); echo sprintf('The current directory has %d kB (%d bytes)', $dusage / 1024, $dusage); -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at

Re: [PHP] REPLY NEEDED

2003-04-03 Thread Ernest E Vogelsinger
stuff, e.g. a chatroom for your partners. All prices excl. VAT, of course. Additional National Fees may apply. Just drop me a note... -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] is register globals off ready for prime time

2003-04-04 Thread Ernest E Vogelsinger
this guy is trying to deceive his own weak code, or he doesn't have a clue of how PHP works. I'd reconsider hiring such a developer. -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Quick Sessions ?

2003-04-04 Thread Ernest E Vogelsinger
. -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Includes confusion

2003-04-04 Thread Ernest E Vogelsinger
- you would need to use either the $GLOBAL superglobal array, or to declare them being global within the function that uses them. -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Quick Sessions ?

2003-04-04 Thread Ernest E Vogelsinger
Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP OOP x Procedural Performance

2003-05-30 Thread Ernest E Vogelsinger
('$ostore[$i] = null', 'Deleted $i object values using store[idx] = null'); $ostore = $ostore2; runtest('unset($ostore[$i])', 'Deleted $i object values using unset(store[idx])'); -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing

Re: [PHP] e-mailing with attachements

2003-05-30 Thread Ernest E Vogelsinger
compliant message, including all headers, yourself. For more information on MIME you should consult RFC822. Do yourself a favour and check out the relevant PEAR classes (Mail/Mime and Mail). http://pear.php.net/packages.php?catpid=14catname=Mail. Performs just great ;-) -- O Ernest E

Re: [PHP] Array conversion

2003-05-30 Thread Ernest E Vogelsinger
Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] static vars question

2003-05-31 Thread Ernest E Vogelsinger
allow functions to continue after they call others... Maybe you mixed this up with gotos, these never return. Thanks to Andi Gutman and Zeev Suraski that there's no goto in PHP *smile* -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General

Re: [PHP] What's wrong with this code??

2003-05-31 Thread Ernest E Vogelsinger
in June. -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Function result is an array

2003-05-31 Thread Ernest E Vogelsinger
); else $x = sprintf(%f secs: %s\n, $time, $string); } // return either the time, or the profiling string return $x; } -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General

Re: [PHP] Getting the parsing time of a script

2003-05-31 Thread Ernest E Vogelsinger
(); for ($i = 0; $i 1; ++$i) $n = getdate(time()); $end = microtime(); list($s0, $s1) = explode(' ', $start); list($e0, $e1) = explode(' ', $end); echo sprintf('hrThis page took %.2f seconds to generate', ($e0+$e1)-($s0+$s1)); -- O Ernest E. Vogelsinger (\)ICQ #13394035

Re: [PHP] Re: Long screen display cut short.

2003-05-31 Thread Ernest E Vogelsinger
connection (in == out). -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OOP question

2003-06-01 Thread Ernest E Vogelsinger
= $tee-call_method('say', 'Called say() (only extended)', 4711); echo 'hr'; echo 'Hello results: '; print_r($res_hello); echo 'Say results: '; print_r($res_say); ? -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List

Re: [PHP] OOP question

2003-06-01 Thread Ernest E Vogelsinger
they have // the same class (or at least derived from). if (is_object($hObj)) return (!count($this-arObj) || is_a($hObj, get_class($this-arObj[0]))); return false; } -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at

Re: [PHP] update question

2003-06-03 Thread Ernest E Vogelsinger
. [snip] Try something like if (!empty($_REQUEST['fieldname'])) dbupdate('fieldname'); http://www.php.net/manual/en/function.empty.php -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP

Re: [PHP] update question [T20030602013J]

2003-06-03 Thread Ernest E Vogelsinger
a message to you, nor am I interested in any way in your services. Please refrain from hooking into mailing lists and bombarding the listmembers with absolutely unneccessary, unsolicited and impolite spams camouflaged as auto-reply. Thank you for consideration. -- O Ernest E. Vogelsinger

Re: [PHP] simple password protect script

2003-06-03 Thread Ernest E Vogelsinger
looking for. -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Broken links report

2003-06-03 Thread Ernest E Vogelsinger
, 'r'); but this will always work unless the host portion of the URL cannot be resolved. You need to employ a method where you receive the MIME headers additional to the page body. Have a look at cURL (http://www.php.net/manual/en/ref.curl.php) how to do this. HTH, -- O Ernest E. Vogelsinger

Re: [PHP] preg_replace help

2003-06-04 Thread Ernest E Vogelsinger
] This should work: $result = null; while (preg_match('!(.*).*?a.*?href\s*=\s*(.*?).*?(.*)!i', $html, $aresult)) { $result .= $aresult[1]; if ($aresult[2]) $result .= ' link name [' . $aresult[2] . ']'; $html = $aresult[3]; } $result .= $html; -- O Ernest E. Vogelsinger (\)ICQ

Re: [PHP] preg_replace help

2003-06-04 Thread Ernest E Vogelsinger
]; } $result .= $html; -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] preg_replace help

2003-06-04 Thread Ernest E Vogelsinger
] - postmatch (all after the closing /a). Within the loop I use this array to modify the HTML code to read (pre-match)#linked-text# [#url#]... which is what you want, after all. On Tue, 2003-06-03 at 11:59, Ernest E Vogelsinger wrote: At 18:43 03.06.2003, Jackson Miller said

Re: [PHP] Evaluating defines

2003-06-05 Thread Ernest E Vogelsinger
, the $replace_by array will contain the correct value. -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Warning Spammer

2003-06-10 Thread Ernest E Vogelsinger
want to impress your girlfriend? *ducking away* -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Questions, questions, questions...

2003-06-10 Thread Ernest E Vogelsinger
= , $sc-Get('other'), \n; $sc-Set('m_a', 'new data for m_a'); $sc-Set('m_b', 'new data for m_b'); $sc-Set('other', 'new data for other'); echo m_a = , $sc-Get('m_a'), , m_b = , $sc-Get('m_b'), , other = , $sc-Get('other'), \n; -- O Ernest E. Vogelsinger (\)ICQ #13394035

Re: [PHP] Php code to create php code

2003-06-11 Thread Ernest E Vogelsinger
('H:i:s'), 'br /'; EOC; eval($code); The complexity is up to you ;-) -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Warning Spammer

2003-06-11 Thread Ernest E Vogelsinger
-Mailer: PHPSpam/ . phpversion() . \r\n, [EMAIL PROTECTED]); The last parameter is a sendmail parameter which may be omitted (doesn't work in safe mode anyway, see http://www.php.net/manual/en/function.mail.php). -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http

Re: [PHP] Redirects in PHP

2003-06-13 Thread Ernest E Vogelsinger
equivalent this also means you can transmit it as MIME header as well: header('Refresh: 5;URL=http://www.microsoft.com;'); echo 'Transferring you to Microsoft in 5 seconds...'; exit; HTH, -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General

Re: [PHP] interact with .htaccess

2003-06-15 Thread Ernest E Vogelsinger
credentials to the server. What you can do however is to somehow include the page contents in your PHP output. In case the .htaccess-protected content is a simple html page you could e.g. readfile() it, or process it in a similar way. HTH, -- O Ernest E. Vogelsinger (\)ICQ

  1   2   3   4   5   6   >