Re: [PHP] POST required header info

2004-02-02 Thread Stuart
read this: http://php.net/register_globals If it's still not clear, check the archives. If you still can't find an answer come back here and we'll spoon-feed you. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and DataSet from C# (VB)

2004-02-03 Thread Stuart
would likely involve writing a PHP extension to interact with the DLL. PHP|A[1] has a good article on this in the January issue. -- Stuart [1] PHP|A: http://www.phparch.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and DataSet from C# (VB)

2004-02-03 Thread Stuart
Sichta Daniel wrote: THX for links but could you please give me url of that article ? http://www.phparch.com/issue.php?mid=22 Well worth the US$2.49!! -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Website Architecture

2004-02-05 Thread Stuart
or SiteRootDir/index.php called the function containing this relative URL and I want them to point to the same location. Why can't you specify an absolute URL? Thank you. You're welcome. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Whoa!!! e-Mail virus from bugs.php.net!

2004-02-06 Thread Stuart
Worms tend to fake the from address with an address picked at random from the infected users address book - that way they are likely to get past the simplest anti-spam measures. We've been getting hundreds of these a day lately. Damn pain they are too. -- Stuart -- PHP General Mai

Re: [PHP] DLL in PHP?

2004-02-09 Thread Stuart
Radwan Aladdin wrote: Just would like to know if you can call DLL from PHP the same way you do in ASP? If so then can any one pass me some example or links. If COM, http://php.net/com but if vanilla then you're looking at wrapping it in an extension. -- Stuart -- PHP General Mailing List

Re: [PHP] adduser.exe

2004-02-10 Thread Stuart
pplication. What you'll need to do is wrap the exe in a CGI script (in perl, php, whatever). I had to do this with a much older version of IMail a while ago and it worked fine once I had it working. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

Re: [PHP] adduser.exe

2004-02-10 Thread Stuart
de up from the query string. I would be very surprised if there weren't examples of doing this with IMail's adduser on the net somewhere. Google is your friend. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHp Books

2004-02-11 Thread Stuart
Rajani Anand Iyer wrote: Can someone recommend some good books on PHP Advanced topics. http://php.net/books -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] replace ' with "

2004-02-11 Thread Stuart
Diana Castillo wrote: How do I replace all single quotes with double quotes in a string for echoing it with the double quotes? $text = str_replace("'", '"', $text); http://php.net/str_replace and please at least RTFM before posting here in future. -- Stuart --

Re: [PHP] Browser Detection another page

2004-02-13 Thread Stuart
's just me, but I feel that serving a site that wasn't designed for viewing on PDAs to PDAs is generally a bad thing. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CDONTS Object

2004-02-16 Thread Stuart
Juan Torres wrote: I'm trying send emails from PHP with IIS (form Win32). With ASP, I used CDONTS component. How can I use CDONTS component from PHP? RTFM! http://php.net/mail -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] problems with spam

2004-02-16 Thread Stuart
mayo wrote: Has anybody else been getting spammed with penis and breast enlargeners to their listserv email? Always. I use [EMAIL PROTECTED] solely for listservs and in the past week I've started getting 5-10 spams a day. What did you expect when you posted to a public mailing list? -- S

Re: [PHP] problems with spam

2004-02-16 Thread Stuart
Stuart wrote: mayo wrote: What did you expect when you posted to a public mailing list? Oh, and it's worth mentioning that you've made that address an easier target by including it in the body of the message. It means that email harvesters that miss the encoded ones in archives will pr

Re: [PHP] PHP REDIRECT

2004-02-16 Thread Stuart
MHO it's a better way to do it, but I can't actually see a reason why I feel that way. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Steps to installin PHP on apache 2

2004-02-16 Thread Stuart
on in several formats and many many languages: http://php.net/docs -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Headers Again

2004-02-17 Thread Stuart
heaimsgroup.com/?l=php-general -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A date n the future

2004-02-17 Thread Stuart
Shaun wrote: How can i tell if one date occurs before another date in the format -mm-dd? $date1 = '2004-01-01'; $date2 = '2004-02-01'; if (strtotime($date1) < strtotime($date2)) { ... } -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

Re: [PHP] Headers Again

2004-02-17 Thread Stuart
PETCOL wrote: Stuart Thank you. Don't thank me[1], thank them. Preferably with cash[2]. [1] I will accept cash if offered. [2] http://marc.theaimsgroup.com/?q=about#Begware -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Split()

2004-02-17 Thread Stuart
cho array_shift($pieces); } http://php.net/array_shift -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Parse error

2004-02-17 Thread Stuart
can probably help. T_VARIABLE is PHPs internal representation of a variable (I could be wrong). -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Warning: main(): Failed opening '' for inclusion (include_path='.:/usr/lib/php')

2004-02-18 Thread Stuart
ve great hole in your servers security. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Crappy results from query

2004-02-18 Thread Stuart
QL does not consider them duplicate rows. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Custom Error Handler

2004-02-18 Thread Stuart
I have a custom error handler class that's working well. My problem is that I can't find a way to find out whether a particular error has been suppressed using the @ prefix. Is there a way to do this with a custom handler? -- Stuart -- PHP General Mailing List (http://www.ph

Re: [PHP] Custom Error Handler

2004-02-18 Thread Stuart
value of error_reporting and act appropriately. Of particular note is that this value will be 0 if the statement that caused the error was prepended by the @ error-control operator. - Oops. Thanks John. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Handle NTLM Logins with PHP

2004-02-19 Thread Stuart
/view/Codev.WindowsInstallModNTLM -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Handle NTLM Logins with PHP

2004-02-19 Thread Stuart
u are assured that the user has authenticated and you can get their username from the $_SERVER['REMOTE_USER'] variable. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] generate a image link with php

2004-02-19 Thread Stuart
Dominique ANOKRE wrote: how to generate a image link with php ? i use this but it returns errors : print(""); print("img src="image.jpg"); print(""); Try... print(''); print(''); print(''); And I'd suggest getting a be

Re: [PHP] Headers Again

2004-02-20 Thread Stuart
fference. For more info on what 'open source' actually means, see http://www.opensource.org/docs/definition.php -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Finding out the local path to a file.

2004-02-24 Thread Stuart
pass the requested URI to the 404 file? You might be able to use that. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: session expired -> how to know if the session is new or old

2004-02-24 Thread Stuart
a lot of effort for little gain to me. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: session expired -> how to know if the session is new or old

2004-02-24 Thread Stuart
x27;s something that should be part of the session handling - it's easy enough for the few people who would want it to add it themselves. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] seesions problem

2004-02-27 Thread Stuart
use either the isset or empty functions. The alternatives are to suppress this particular error with the @ operator or lower your error_reporting level. Everything you need to make any of these changes is spelt out in detail in the manual. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Importing PDF Text

2004-02-27 Thread Stuart
commercial and free, that can. I suggest you Google... http://www.google.com/search?q=pdf+to+text -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Importing PDF Text

2004-02-27 Thread Stuart
believe there is a PHP-only way to do it. Please prove me wrong though... -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Get MySQL table field names

2004-03-01 Thread Stuart
Matt Palermo wrote: How can I get the field names from a specified MySQL table? I don't need the data, I just want to get an array of the tables field names. http://php.net/mysql_list_fields -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

Re: [PHP] Undefined offset

2004-03-01 Thread Stuart
doesn't mean that $i isn't defined. It means that $this->inputs[$i] isn't defined for the value of $i where the notice is generated. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: php/mssql character limit?

2004-03-08 Thread Stuart
Ben Ramsey wrote: Anyone know of any kind of character limit in php or mssql (yes, Microsoft SQL Server) for entering long text into a text column (of around 4,055 characters in length--that's where it's cutting off)? Have a look in php.ini - IIRC there are 2 options that affect this.

Re: [PHP] Re: Mail Function

2004-03-08 Thread Stuart
Will wrote: My sendmail_from is as follows: sendmail_from = [EMAIL PROTECTED] Did you restart Apache (assuming you're using the module) after making this change? -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ASP to PHP language problems

2004-03-11 Thread Stuart
ke nothing more than a waste of cycles to me. Or am I missing something weird about how PHP works? -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OOP Get Parent data

2004-03-11 Thread Stuart
g like this... class session { var $test="TEST"; var $browser; function init() { $this->browser = new browser($this); } } class browser { var $session = null; function browser(&$session) { $this->session = &$session; } function parent_test()

Re: [PHP] connecting to MySQL from shellscript

2004-03-11 Thread Stuart
st be something not quite right about your setup. Care to share more information? -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] use of @ operator to suppress errors

2004-03-15 Thread Stuart
able. Essentially it sets error_reporting to 0 while it evaluates that block. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] the '&' character and PHP...?

2004-03-18 Thread Stuart
&' in my variable? http://php.net/urlencode -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Max Limit of post variables

2003-02-06 Thread Stuart Donald
am violating some html tag rules and the browser does not have a too much problem with the few hundred post variables. I am using apache2, php4 and Explorer for the browser, however it also crashes in Netscape (but not as bad). Stuart -- PHP General Mailing List (http://www.php.net/) To

[PHP] GMT strtotime() problem today!!

2003-03-31 Thread Stuart Cochrane
me servers have 'automatically adjust clock for daylight saving changes' switched on, some have this off - (im in the UK GMT +0). With daylight saving on the above script returns: 2003-03-29 With daylight saving off the above script returns: 2003-03-30 Im pu

Re: [PHP] How to drop a element from an array

2002-10-06 Thread Stuart Dallas
Alex Shi wrote: > Is there a good way do drop an element from an array? Unset (http://www.php.net/unset) the element and it will be removed from the array. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] quert problems

2002-10-07 Thread Stuart Dallas
our SQL syntax near > 'WHERE username='kurth' AND preference=required_hits SET preference=5' > at line 1 > > what gives? 1) This is a PHP list, not an SQL help list 2) The SET clause goes before the WHERE clause -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql_num_rows error

2002-10-08 Thread Stuart Dallas
e if this is the case - it will be FALSE if it failed. In this case my guess would be that the backticks are not valid string delimeters. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] POST method not allowed

2002-10-09 Thread Stuart Dallas
es issue. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] probelem with script

2002-06-05 Thread Stuart Dallas
On Wednesday, June 5, 2002 at 1:57:09 PM, you wrote: > // the error is bieng caused here > $size = int filesize($file) You don't need the int and you were missing a semicolon... $size = filesize($file); -- Stuart -- PHP General Mailing

Re[2]: [PHP] Parse Error in my Mail Function -UPDATED

2002-06-07 Thread Stuart Dallas
cess > ="Failure sending email."; > //31 > if ($emailsuccess == "") {$emailsuccess = "Email Sent Successfully.";} Line 29 is missing a semicolon at the end. It would have been much simpler if you had just posted these 3 lines in the first place. -- Stuart

Re[2]: [PHP] Re: strip_tags bug ?

2002-06-07 Thread Stuart Dallas
nasty here < /SCRIPT> I don't know what others use strip_tags for, but I've only ever used it to remove script/html tags from forum posts. Using your code would create a massive security hole. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[3]: [PHP] Re: strip_tags bug ?

2002-06-07 Thread Stuart Dallas
On Friday, June 7, 2002 at 10:30:59 PM, I wrote: > < /SCRIPT> There should be another space here... < /SCRIPT > -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[3]: [PHP] Re: strip_tags bug ?

2002-06-07 Thread Stuart Dallas
ould be valid HTML, but I just checked and it's not. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] Tracking Problem -- Force full script execution?

2002-06-07 Thread Stuart Dallas
azing > porn. I'm more amazed that MySQL doesn't fall over and cry like a baby under the amount of pressure that 2.5 million queries per minute would create!! -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Form Variables

2002-06-07 Thread Stuart Dallas
just installed: http://www.php.net/release_4_2_1.php (specifically the 'External Variables' section). -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] Form Variables

2002-06-07 Thread Stuart Dallas
gt; if ($phrase){ echo "Phrase-- $phrase";} > Else{ echo "No Variables";} ?>> Try changing the above code to... -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Not php related - php.net logo in Netscape 7?

2002-06-07 Thread Stuart Dallas
.com/ for full info. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reading from a dir.

2002-06-08 Thread Stuart Dallas
On Saturday, June 8, 2002 at 3:23:01 PM, you wrote: > Is there another way to read the files from a directory? http://www.php.net/readdir -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] array_reverse() recursive

2002-06-10 Thread Stuart Dallas
s $key => $val) { if (is_array($val)) $arr[$key] = recursive_array_reverse($val); } return $arr; } Let me know if this works. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] array_reverse() recursive

2002-06-10 Thread Stuart Dallas
l to array_reverse :). function recursive_array_reverse($arr) { foreach ($arr as $key => $val) { if (is_array($val)) $arr[$key] = recursive_array_reverse($val); } return array_reverse($arr); } -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help with header function

2002-06-10 Thread Stuart Dallas
ens. We are not mind readers. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Array into database

2002-06-11 Thread Stuart Dallas
On Tuesday, June 11, 2002 at 10:25:36 PM, you wrote: > I would like to know wether it's possible to put an array into a database? > If not, what is the best way to archieve something like that? Yes it is. See http://www.php.net/serialize -- Stuart -- PHP General Mailing

Re: [PHP] Array into database

2002-06-11 Thread Stuart Dallas
ike a 1-dimensional associative array) > it would work? As far as I know, serialize will handle multi-dimensional arrays. If I were you I would suck it and see. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How do I stop foreach if $menu not set??

2002-06-11 Thread Stuart Dallas
On Tuesday, June 11, 2002 at 10:59:13 PM, you wrote: > I Have worked out this, but when $menu is not set it does the foreach > function anyway, and desplays an error. > What Can I do to stop the foreach function from working if $menu is not > set?? http://www.php.net/isset

Re[2]: [PHP] netscape wont show form result

2002-06-12 Thread Stuart Dallas
;d point out an error in your explanation. PHP is executed by the server, not by the browser. Therefore, IE cannot have "blissfully ignored" an exit directive since it never saw one. I think you've solved your problem by coincidence rather than logic - a very bad way to write code. --

Re[2]: [PHP] Array into database

2002-06-12 Thread Stuart Dallas
o is on the manual page. Don't forget to run addslashes on the string before trying to store it in the database. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] passing name / value pairs in URL

2002-06-13 Thread Stuart Dallas
ontinue to enjoy it? > getAd.php?id=1 The variable can be found in the $_GET array, as in $_GET['id']. Or have I misunderstood your problem? -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] goto

2002-06-13 Thread Stuart Dallas
27;TEXT') echo($record[$field]); } } That's going by your code. However, it still doesn't make sense and will result in an endless loop since $type never changes. For the record, a goto would be the worst way to implement something like this! I hope that helps a bit. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php-speed

2002-06-13 Thread Stuart Dallas
x27;t do so with text contained within 's. However, neither will be quicker than inline HTML since PHP completely ignores that as previously mentioned. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] view source with opera

2002-06-13 Thread Stuart Dallas
hoax". Unless your server has phps (source view) enabled. If it has then you can see the source of any file by using the extension .phps. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] view source with opera

2002-06-13 Thread Stuart Dallas
. >> > So IMHO this is a "hoax". >> >> Unless your server has phps (source view) enabled. If it has >> then you can see >> the source of any file by using the extension .phps. > Awright! But then it would be possible with any browser... Unless I mis

Re: RES: [PHP] view source with opera

2002-06-13 Thread Stuart Dallas
On Thursday, June 13, 2002, 2:59:35 PM, you wrote: > yes the bad guy says it only happen in opera > i ask to show me how but give no response until now Let us know what he says. I think we'd all be interested. -- Stuart -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] $HTTP_USER_AGENT

2002-06-13 Thread Stuart Dallas
On Thursday, June 13, 2002, 4:36:29 PM, you wrote: > Why $HTTP_USER_AGENT don't work?? I can't get it's value, but in phpinfo the > value appears. why this??? Try $_SERVER['HTTP_USER_AGENT']. If that works, read http://www.php.net/manual/en/language.variab

Re: [PHP] PHP with No Web Server?

2002-06-13 Thread Stuart Dallas
plenty out there. However, to answer the question I think you were asking, PHP does not come with a ready-to-run web server. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] PHP with No Web Server?

2002-06-13 Thread Stuart Dallas
rk I suppose... if you were that way inclined! :) As previously mentioned, there is one: http://nanoweb.si.kz/ -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Spam Bots/E-mail Addys

2002-06-13 Thread Stuart Dallas
they probably already get. Basic fact: If a normal (anonymous) visitor can get at the email addresses, so can a bot. It all depends on the bot, but there's no getting around that basic fact. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] Spam Bots/E-mail Addys

2002-06-13 Thread Stuart Dallas
ink and builds the mailto: link at runtime. Google should be able to point you in the right direction. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] Spam Bots/E-mail Addys

2002-06-13 Thread Stuart Dallas
hat new > window again be just as bad as displaying it on the main page? > I realize this isn't a new idea, but I'm assuming it's more secure than > just keeping a mailto:[EMAIL PROTECTED] link around. Yes, that's one common way to 'hide' the email addresses.

Re: [PHP] [arrays] reading from a form.

2002-06-13 Thread Stuart Dallas
: > Notice: Uninitialized string offset: 1 in show.php on line 4 > How could I know the values of the text? without modify example.html The easiest way would be to modify example.html and change each instance of name="text" to name="text[]". However, since you say you cannot do th

Re[2]: [PHP] beginner in PHP

2002-06-13 Thread Stuart Dallas
echo "Thank you for shopping!"; } And if it works, read this: http://www.php.net/manual/en/language.variables.scope.php -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php server on Windows

2002-06-13 Thread Stuart Dallas
he ? If you really want to, but I can't think of many reasons why you would want to. > Thanks! No problem. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] sessions help

2002-06-13 Thread Stuart Dallas
'node']; > It doesn't seem to know about $_SESSION. > Can someone help me out? Do you have a call to start_session() at the top of both files? If not, that's what's missing. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] sessions help

2002-06-13 Thread Stuart Dallas
Before any HTML or other PHP code. This is because it sets a cookie which needs to be able to send an HTTP header which can only be done before any output is generated (unless output buffering is enabled). According to the error, the call to session_start() is on line 9 but output was generated on l

Re[3]: [PHP] sessions help

2002-06-13 Thread Stuart Dallas
On Thursday, June 13, 2002 at 10:32:25 PM, you wrote: > Thanks to Julie and Stuart for helping me. > With your direction, I got rid of the warning about the headers by putting > the session_start() at the beginning of the file. > Now I get a different sort of error when I try to

Re: [PHP] RE: GD Questions: Please help.

2002-06-13 Thread Stuart Dallas
../../../../../../etc/passwd'. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[4]: [PHP] sessions help

2002-06-13 Thread Stuart Dallas
ed to extract the session into the global scope. > With register_globals=Off, I understand that you need to extract the $_POST > and $_GET vars. I assumed the same for $_SESSIONS. Is this not true? No. If you use $_GET, $_POST and $_SESSION to get to those variables then there is no nee

[PHP] Re: [PHP-WIN] SSL Support for PHP....

2002-06-14 Thread Stuart Dallas
before. Dunno, never used SSL with Apache. Sorry. I hope that helps. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reg-Maximum allowed size for uploaded files

2002-06-14 Thread Stuart Dallas
ation.php#ini.max-execution-time -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-WIN] SSL Support for PHP....

2002-06-14 Thread Stuart Dallas
project. However, I would expect that there would be little difference whether you implement it using IIS or Apache. > Btw, thanks Stuart, thats kinda making me feel easier about keeping it IIS. No problem. Don't get me wrong, I think the ?AMP combination (Linux/FreeBSD/etc, Apache, My

Re[2]: [PHP] Re: php server on Windows

2002-06-14 Thread Stuart Dallas
know that they do use other platforms for other servers, but as far as I can tell, they are providing minor services compared to the IIS servers. But do correct me if I'm wrong. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PLEASE HELP! session variable fails to persist!!

2002-06-14 Thread Stuart Dallas
sion id is. Try putting a link on that page that links to the same page. Click on the link and you should find that the session variable now persists. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] 'CC' and 'BCC' in mail function

2002-06-14 Thread Stuart Dallas
. I (and I'm sure there are others) would prefer it if you could create a new thread for a new topic. It makes things a lot easier to follow. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] PLEASE HELP! session variable fails to persist!!

2002-06-14 Thread Stuart Dallas
} print 'reload page'; ?> It works. If this code doesn't work for you then it's something wrong with your server configuration. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[4]: [PHP] PLEASE HELP! session variable fails to persist!!

2002-06-14 Thread Stuart Dallas
t be told about it. Is the server you are using public? Can you post the URL so we can take a look? -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[6]: [PHP] PLEASE HELP! session variable fails to persist!!

2002-06-14 Thread Stuart Dallas
he page. It's saying that there is no variable named var stored in the session. I'm at a loss. I can't see any reason why it's not working. What URL does the link in your page go to? It should have a query string on it. Does it? -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[4]: [PHP] Re: php server on Windows

2002-06-15 Thread Stuart Dallas
. It all depends on the job in hand and I will choose a platform based on my requirements. I would certainly not base my decision on the foundation-less spoutings of someone on a mailing list (that includes me, although I am trying to walk the neutral path). My only hope is that people will stop dism

Re: [PHP] PHP timeout

2002-06-15 Thread Stuart Dallas
can find that setting in the site properties, Home Directory tab, click on the Configuration button, then go to the Process Options tab. At the bottom of that tab you should have a CGI script timeout value. Try increasing that. -- Stuart -- PHP General Mailing List (http://www.php.net/

Re[2]: [PHP] PHP timeout

2002-06-15 Thread Stuart Dallas
ght place and is the tab just > missing or is there a problem on my behalf? What version of IIS are you running? It may be in a different place on your server. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    1   2   3   4   5   6   7   8   9   10   >