Re: [PHP] Sessions not working on Linux - Apache

2004-05-12 Thread Zac
>> What version of PHP? How are you 'setting' session variables? Version 4.2.2 $_SESSION[test] = 'testData'; Cheers Zac -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sessions not working on Linux - Apache - FOllow Up

2004-05-12 Thread Zac
eated specifically for the sessions with global write permissions this had no effect. Made sure the $_SESSION[name] had ' - $_SESSION['name'] made no difference. (Thanks though) Any help really appreciated. Zac Running on apache 1.3 session.save_handler = files session.save_path = /tmp

[PHP] URL Encode to send as form POSTed Items

2002-11-25 Thread Zac Hillier
n use header location to direct the user to another page that will process the form. I'm posting to another site which is why i have to use form variables. I would like to avoid using JavaScript as this takes longer, will not work on all machines. Thanks Zac -- PHP General Mailing

Re: [PHP] Free WEB Hosting with PHP and MySQL support

2002-07-24 Thread Zac Hillier
easyDNS.com provide a dynamic dns solution to your problem Zac - Original Message - From: "crimix" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 24, 2002 10:03 PM Subject: [PHP] Free WEB Hosting with PHP and MySQL support > Unfortunatelly

[PHP] global variables without sessions on apache

2002-06-05 Thread Zac Hillier
htaccess or http.conf but am struggling to find documentation for it. Thanks Zac -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] global variables without sessions on apache

2002-06-05 Thread Zac Hillier
Jason, Could you expand on this a little more? I've tried searching for auto-prepend in both php documentation and apache and cannot find anything thats relates to our needs. Thanks for your help Zac - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]>

Re: [PHP] global variables without sessions on apache

2002-06-05 Thread Zac Hillier
thought it would be possible with htaccess or http.conf but am struggling to find documentation for it. Thanks, Zac - Original Message - From: "Miguel Cruz" <[EMAIL PROTECTED]> To: "Zac Hillier" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednes

Re: [PHP] global variables without sessions on apache

2002-06-06 Thread Zac Hillier
Thanks Jason, Works great in htaccess Zac - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 06, 2002 4:08 AM Subject: Re: [PHP] global variables without sessions on apache > On Thursday 06 June 2002

[PHP] catching plurals

2002-06-11 Thread Zac Hillier
Hi I'm trying to write a function to catch and remove plurals from a search feature, can anyone suggest how I can efficiently remove 'ies' and 's' from the right hand end of each word within an array? Thanks, Zac -- PHP General Mailing List (http://www.php.net/) To

[PHP] is preg_replace the fastest way?

2002-06-11 Thread Zac Hillier
$filtered string and then look for the words in a noise words string. If so how would I do this and remove the words? Thanks Zac -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] preg

2002-06-11 Thread Zac Hillier
Does anyone know how I can use preg or any other function to identify a double letter on the end of a string and then replace it. So 'foo' would become 'f2' and 'bar' would not change. Thanks Zac -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] row pointer

2002-06-14 Thread Zac Hillier
Can anyone help? Thanks Zac -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] row pointer

2002-06-14 Thread Zac Hillier
prove it or good coding practice I would appreciate your comments as I'm still new to this. Thanks Zac Code: #--create select statement for getting keywords from table $fndWrds = ''; foreach($kywrd as $val) { $fndWrds .= "wrd = '$val' OR "; } #-- add test

[PHP] Sockets & 'requested address is not valid in its context'

2002-07-06 Thread Zac Hillier
rgument was supplied. What does 'requested address is not valid in its context' mean? Thanks Zac Code: "; } else { echo 'socket'; } if (($ret = socket_bind($sock, $address, $port)) == false) { echo "socket_bind() failed: reason: " . socket_strerror(socke

Re: [PHP] I am out of pleases now get me off this fuckin list!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

2002-07-09 Thread Zac Hillier
Maybe everybody should send him a copy then he'll get the message? Maybe To remove your address from the list, just send a message to the address in the ``List-Unsubscribe'' header of any list message. If you haven't changed addresses since subscribing, you can also send a message to: <[E

Re: [PHP] Development Tools

2002-07-10 Thread Zac Hillier
Can't agree more, it's fine having Ultradev and the rest to get you started but the best end results come from understanding and writing code that is not bloated. For a great text editor that has all the features identified in PHPEdit but none of the bugs try JEdit www.jedi

[PHP] fsock and fget driving me mad!

2002-07-11 Thread Zac Hillier
nd serproxy is supposed to translate this back to tcp port 5331 however I cannot read it with fgets? Please help it's driving me mad and I'm sure I'm just being stupid : { Thanks for any help. Zac -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ereg_replace problems

2002-05-22 Thread Zac Hillier
gi_replace("\[L=([a-zA-Z]+)]"."([a-zA-Z]+)\[EL]", "\\2", $cntnt); fndLnk is the function and the error I receive is - Warning: Unexpected character in input: '\' (ASCII=92) state=1 Thanks for any help Zac

[PHP] unexpected T_IF

2002-05-25 Thread Zac Hillier
image/pjpeg') ? $ext = '.jpg' : $ext = '.gif'; 28: 29: #-- create unique filename 30: $flNme = '\/imgs\/user-imgs\/' . time() . $REMOTE_HOST . $ext; 31: $FulflNme = $DOCUMENT_ROOT . $flNme 32: 33: #-- check file is realy uploaded for security then copy to store folder 34: if (is_uploaded_file($HTTP_POST_FILES['uplfile'])) { Thanks Zac

[PHP] fread and session vars

2002-05-27 Thread Zac Hillier
not being translated. I've tried adding & SID to the end of the URL but to no avail. Can anyone suggest a course of action. I'm reluctant to produce GET variables as there are many variables and this script will need to be used by multiple domains. Thanks, Zac

Re: [PHP] fread and session vars

2002-05-27 Thread Zac Hillier
p.html') . " for writing. Static page update aborted!"); exit(); } #write to temp file fwrite($tempfile, $htmldata); # close the temp file fclose($tempfile); etc... === create-page.php: To: "'Zac Hillier'&qu

Re: [PHP] fread and session vars

2002-05-27 Thread Zac Hillier
res a session variable. Zac - Original Message - From: "John Holmes" <[EMAIL PROTECTED]> To: "'Zac Hillier'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, May 27, 2002 7:12 PM Subject: RE: [PHP] fread and session vars > Hi. > &g

[PHP] map internal extension name to actual file

2005-02-17 Thread Zac Barton
and slow. Can unpack help me here? To re-cap id love to be able to say (from within php), yea the ming extension was loaded by enabling the mingFlash.dll in php.ini. Hope that makes sense Zac -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] php compiler

2005-03-15 Thread Zac Barton
You could try this Jay (I havent used it before, has anybody?) http://www.roadsend.com/home/index.php?SMC=1 Zac -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: 15 March 2005 11:21 To: Davy Durham; php-general@lists.php.net Subject: RE: [PHP] php compiler [snip

[PHP] report_zend_debug ini setting

2005-03-29 Thread Zac Barton
Hi, Does anyone know what the "report_zend_debug" ini entry does. I have searched the php wesite (http://docs.php.net/en/ini.html) and cant find any info on it. Thanks Zac -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP and Ajax?

2005-04-29 Thread Zac Barton
You should also look at JSON (JavaScript Object Notation - is a lightweight data-interchange format) http://pear.php.net/pepr/pepr-proposal-show.php?id=198 http://mike.teczno.com/json.html Zac -Original Message- From: Hidayet Dogan [mailto:[EMAIL PROTECTED] Sent: 29 April 2005 07:41

RE: [PHP] Re: Retrievable weather service info?

2005-06-14 Thread Zac Barton
today and tomorrow in your application - for FREE! Hope that helps Zac -Original Message- From: I. Gray [mailto:[EMAIL PROTECTED] Sent: 14 June 2005 14:33 To: php-general@lists.php.net Subject: [PHP] Re: Retrievable weather service info? You might want to have a look at

[PHP] php session variables limited to 1 character -- please help

2005-10-24 Thread Zac Smith
g $_GET['State'] variable and setting it to a session variable named $USER['State']. This worked fine until a few days ago, but now it's persistent! Any ideas what might be causing this?? I've searched the web/lists and can't find any reference. http://www.trip

[PHP] Re: PHP web based administrator... Pyrite

2005-11-02 Thread Zac Barton
Sorry that embedded link should be http://pyrite.zacbarton.com/ :-( Z On 11/2/05, Zac Barton <[EMAIL PROTECTED]> wrote: > > Hi list > > I have been working on a free web based app that lets you update the > php.ini from your browser very much like Coldfusion has. > >

[PHP] PHP web based administrator... Pyrite

2005-11-02 Thread Zac Barton
share any ideas/comments before I take it any further. The demo site is pointing to a test php.ini file so feel free to play with it. Regards Zac

Re: [PHP] Re: PHP web based administrator... Pyrite

2005-11-02 Thread Zac Barton
permissions to the php.ini file and I would hope that Apache is setup to use a non-root account but with privileges to write to the php.inifile. I could deff use an extra pair of eyes over the code to make sure the app is as secure as humanly possible... interested? Best Zac On 11/3/05, James Benson

[PHP] Looping or what?

2003-07-09 Thread Zac Hillier - Net Affectors
The code below is suppose to replace some images and links but when I run it the page just seems to hang and eventually times out. Am I Looping somewhere and not realising it? Thanks Zac $i = $c01_1; $imgLst = ''; function imgRplc($val){ global $imgLst; global $i; $imgLst .

[PHP] Sessions not working on Linux - Apache

2004-05-12 Thread Zac Hillier - Net Affectors
sess_nnn file is there but contains no data. I've checked permissions and the /tmp folder is world writable and the sess_nnn file is owned by the web server and is writable? Can anyone suggest what to test next or where the problem may be? Thanks Zac -- PHP General Mailing List (http://www.ph