[PHP] XTemplate

2002-12-01 Thread Henry
Hi All, I'm looking for a way to seperate my HTML from my PHP and database access code, I pointed in the direction of XTemplate. After having had a look at XTemplate I'm not sure if it is current and stable under PHP 4 Is it and if it isn't is there something better to use? He

RE: [PHP] is this better or is it still in html?

2003-01-20 Thread Henry
i don't get your point -Original Message- From: Karl James [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 11:59 AM To: php Subject: [PHP] is this better or is it still in html? Karl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

RE: [PHP] Help with Error, I am Trying!!

2003-01-20 Thread Henry
you miss a { at first if statement -Original Message- From: Karl James [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 12:28 PM To: php Subject: [PHP] Help with Error, I am Trying!! Parse error: parse error, unexpected '}' in /home/virtual/site12/fst/var/www/html/Crea

Re: [PHP] Adding a variable to oracle that contains quotation marks??

2003-01-21 Thread Henry
Once you use double quota mark the character BackSlash doesn't need anymore that's my experience ^_^ - Original Message - From: "Rick Emery" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, January 21, 2003 8:56 PM Subject: Re: [PHP] Adding a variable to orac

RE: [PHP] Why PHP doesn't work with Apache2?

2003-01-22 Thread Henry
Apache2 now work with php in aspx (PHP is as a module) -Original Message- From: Jean-Christian Imbeault [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 6:06 PM To: [EMAIL PROTECTED] Subject: [PHP] Why PHP doesn't work with Apache2? I don't want to start a flame-war

RE: [PHP] Why PHP doesn't work with Apache2?

2003-01-22 Thread Henry
, January 22, 2003 7:11 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Why PHP doesn't work with Apache2? Henry wrote: > Apache2 now work with php in aspx (PHP is as a module) Really!? I was sure there were still some issues ... Jc -- PHP General Mailing List (http://www.php.n

[PHP] How to implement this by php Session

2003-01-22 Thread Henry
I'd like to implement ONE USER SIGNIN at the same time, the way I consider about is below: 1 record the sessionId and userId in some media(db), then we'll know who is login and who is not 2 use a demon program to determine whole sessionId which is live and correspond to db's data if some se

Re: [PHP] A simple question please.

2003-01-22 Thread Henry
it doesn't matter before or after as I know - Original Message - From: "Denis L. Menezes" <[EMAIL PROTECTED]> To: "PHP general list" <[EMAIL PROTECTED]> Sent: Wednesday, January 22, 2003 11:21 PM Subject: [PHP] A simple question please. Hello friends. I need to add a part of html (the

Re: [PHP] How to implement this by php Session

2003-01-22 Thread Henry
solution? - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 23, 2003 12:32 AM Subject: Re: [PHP] How to implement this by php Session > On Thursday 23 January 2003 00:26, Chris Shiflett wrote: > > ---

RE: [PHP] How to implement this by php Session

2003-01-22 Thread Henry
thanks a lot -Original Message- From: Chris Shiflett [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 2:54 AM To: Henry; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] How to implement this by php Session --- Henry <[EMAIL PROTECTED]> wrote: > what I wan

[PHP] How do I know alive session at this moment?

2003-01-24 Thread Henry

RE: [PHP] Redirect without header or javascipt

2003-02-19 Thread Henry
with using header? you mean like this--> Header("location: http://url";); -Original Message- From: Daniel Guerrier [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 19, 2003 7:00 AM To: php user group Subject: [PHP] Redirect without header or javascipt Is there any to redire

[PHP] pop3 authentication

2002-07-25 Thread Henry
ke to check a pop3 server on the domain, is this possible using php?? anyone have demo code for something like this? cheers Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] running php with .html files?

2002-07-27 Thread Henry
r the directory wher the file is held or specifically for the server. (Unfortunately I don't have access to the conf files for the server because I'm currently using a shared serever from an ISP). Any help is greatly appreciated. Even pointers in the right direction would be useful. TIA Henr

Re: [PHP] running php with .html files?

2002-07-28 Thread Henry
That did the trick. Thanks. Henry "Michael Sims" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Sun, 28 Jul 2002 08:18:40 +0100, you wrote: >Hi All, [...] >I have a php script that I wish to execute but I want to put it in &g

Re: [PHP] Most portable back button in php

2002-08-09 Thread Henry
Thanks Justin I'll have a go ;-) Henry "Justin French" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have this code on one of my sites... it sits inthe config file, so every > page is able to establish their URL. > &

[PHP] Re: anyone can help?

2002-08-09 Thread Henry
nly starts a scope which is always executed. Henry "::: Flavio Bastos Amiel::>" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > this is not functional and i dont know why, this is stoping where if > (!$accion) is

[PHP] including URL's

2002-08-09 Thread Henry
e way to achieve this effect. I'm trying to keep things as modular as possible even to the extent that some modules live on different servers. TIA Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Can I assign to $_POST legitimately

2002-08-09 Thread Henry
I can do it but is it legit? $_POST['name']='henry'; within a php script? if $_POST['name'] is not set. The clearly $_POST['name'] was not posted!! Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Is there a standard function to remove multiple spaces from a string?

2002-08-09 Thread Henry
llopeeps,happytimes" foo("Hello peeps, happy times",2) -> "Hello peeps, happy times" (notice single space between "," and "h") Can I do it with reg exp? TIA Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Thumb nail of a web page

2002-08-09 Thread Henry
Hi All, Just out of interest, does anyone know of a way to generate a thumb nail of a web page given a URL? Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Getting PHP to submit a form to google

2002-08-15 Thread Henry
hould then parse the results so that I can feed them back to the user in a form that I choose. How should/can I go about this? TIA. Henry. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Exiting from an include or required file

2002-08-21 Thread Henry
Hi All, I would like to exit from an include file and continue in the calling script! As an example FILE A: FILE B #include "A"; TIA Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Exiting from an include or required file

2002-08-21 Thread Henry
Thanks, but my situation is slight more convoluted than I describe. I want to cascade down through a include chain and want to just stop processing the current include and return to the one which called it. Similar to exit() but only for the local scope. TIA Henry "Mark Roedel&quo

Re: [PHP] Exiting from an include or required file

2002-08-21 Thread Henry
irective include is not a pre-processor directive include is not a pre-processor directive include is not a pre-processor directive include is not a pre-processor directive include is not a pre-processor directive include is not a pre-processor directive Thankyou once again Henry "M A B

[PHP] CURL without --with-curl

2002-08-29 Thread Henry
How can I use CURL if I cannot recompile PHP with --with-curl. I am using PHP4.2.2 on a shared server with an ISP so I do not get the ability to recompile. Hope someone can make a suggestion. I want to be able to do GET and POST requests of pages easily to Google. TIA Henry -- PHP

[PHP] Using cURL

2002-08-29 Thread Henry
x27;t what do I need to do so I can start using it? Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: GD Graphics Library

2002-08-30 Thread Henry
Does it have to be in the US? Henry "René fournier" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... There are several functions in the GD library that I really, really want to be able to use on several sites that I develop/manage. Unfo

[PHP] changing the include path

2002-08-30 Thread Henry
Hello All, Is it possible to change the include path when a script is runing without having to change the php.ini file? TIA Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: mysql string comparison not working

2002-09-03 Thread Henry
Have you tried single quotes ' '? "David Banning" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > if I set test = "Y"; > then > > if ($test == "Y") {echo ("it matches");} > > seems to work while > > if ($row[24] == "Y") {echo ("it matches");} > > does not. > Th

[PHP] Generating CSV files on the fly and getting the browser to download

2002-09-10 Thread Henry
Hi All, I suspect this is a commonly asked question but; how do I generate a CSV files on the fly and get the browser to download it. Do I actually need to generate a file or can I just generate a variable contain the data that would be in the file? Any help is greatly appreciated. TIA Henry

[PHP] Re: Generating CSV files on the fly and getting the browser to download

2002-09-10 Thread Henry
It didn'ti work ;-( Just showed a page with the data in! How would I do it with a file in any case? Henry "Lallous" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Try this: > > $fileextension="csv&quo

[PHP] Re: How to schedule a run for a php script.

2002-09-16 Thread Henry
Sorry this is late, If you do not have PHP compiled for command line use then use crontabs and wget. There are security issues, but some checks like the browser and IP address can be used to protect yourself a bit. HTH Henry "Yc Nyon" <[EMAIL PROTECTED]> wrote in message n

[PHP] Getting a mysql set info

2002-09-25 Thread Henry
t at this information from within PHP in order to generate a collection of checkboxes for setting the field in HTML. Any Help Much Appreciated Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Getting a mysql set info

2002-09-25 Thread Henry
Thanks Debbie, Your a star Henry "Debbie_dyer" <[EMAIL PROTECTED]> wrote in message 00dc01c2646f$06223dd0$19153c3e@homepc">news:00dc01c2646f$06223dd0$19153c3e@homepc... > You need to use SHOW COLUMNS FROM table LIKE 'yoursetfieldname' > > You c

[PHP] Re: Automatic Form Generation with PHP

2002-09-25 Thread Henry
Hi Debbie, What are you going to do about customers who don't have PHP? To run the field definition extractor part of the system. Henry "Debbie_dyer" <[EMAIL PROTECTED]> wrote in message 00a001c26468$80a50530$19153c3e@homepc">news:00a001c26468$80a50530$19153c3e

Re: [PHP] Re: Automatic Form Generation with PHP

2002-09-25 Thread Henry
Hi Debbie, That's fair enough. How are you ensure that only valid servers request information from the field enquiry part? Otherwise people might be able to use this part to gain access to the database structure if not the actual data. Henry. "Debbie_dyer" <[EMAIL PROTECTED]

[PHP] Re: Newsletter Script

2002-09-25 Thread Henry
Shouldn't you have some selection criteria after $MailQuery = "SELECT * FROM newsletter_db"; such as WHERE `newsletterID`=$_REQUEST['id']; ?? Other than that if its not dying and you actuall do have more than one recipient I cannot see it. Henry "Sascha Braun

[PHP] Re: exec("echo ... issuse

2002-09-25 Thread Henry
use \" instead of " so that you don't actually end the string Henry "Mario Ohnewald" <[EMAIL PROTECTED]> wrote in message 001801c2647a$070aa100$350aa8c0@W2KDP">news:001801c2647a$070aa100$350aa8c0@W2KDP... > Hello! > I want to write a line int

[PHP] Re: exec("echo ... issuse

2002-09-25 Thread Henry
Oops, I didn't read on Sorry Henry "Henry" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > use \" instead of " so that you don't actually end the string > > Henry > > "Mario Ohnewald" <[E

[PHP] Re: exec("echo ... issuse

2002-09-25 Thread Henry
Have you tried using single quotes arround the main string? i.e. 'echo "echo blah blah"' Henry "Henry" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > use \" instead of " so that you don't

Re: [PHP] Re: exec("echo ... issuse

2002-09-25 Thread Henry
0aa8c0@W2KDP">news:001901c26480$5e280df0$350aa8c0@W2KDP... > Hi Henry, > > > > From: Henry [mailto:[EMAIL PROTECTED]] > > > > > > Have you tried using single quotes arround the main string? > > > > i.e. 'echo "echo blah blah"&

[PHP] checking if a MySQL update worked

2002-09-30 Thread Henry
Hi All, mysql_affected_rows() returns zero if you update without changing the data in a database record. How do you tell the difference betwix "it worked but nothing changed" as opposed to "it didn't work"? TIA Henry -- PHP General Mailing List (http://www.php.ne

[PHP] Re: mail headers & filtering

2002-09-30 Thread Henry
without javascript enabled email clients to view the message remotely on a decode server if they wish. Henry Grech-Cini PS. If anybody does do this please let me know "Debbie Dyer" <[EMAIL PROTECTED]> wrote in message 020f01c26895$619cd880$8c093c3e@homepc">news:020f01c26895$

[PHP] submitting a form to multiple places!!!

2002-10-01 Thread Henry
erent autoresponder handling system into the submission process but continue to use the shopping carts pages for the time being. Any suggestions? Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: submitting a form to multiple places!!!

2002-10-01 Thread Henry
No takers? Is this such a difficult problem? Please help. Henry "Henry" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi All, > > I have a problem that I hope you can help me with. > > I'm using a third party s

[PHP] Re: mail headers & filtering

2002-10-04 Thread Henry
I like that ;-) "Manuel Lemos" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > On 09/30/2002 01:29 PM, Henry wrote: > > How about somebody making a javascript email encoder so that if you use a > > javas

[PHP] Findng a pattern

2002-10-04 Thread Henry
re I would like to know what the values are. Is there a simple way to do this? TIA Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Findng a pattern

2002-10-04 Thread Henry
Thanks, but I don't want to uses google's SOAP interface, is there a preg type solution. "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Google has a SOAP interface for this. > > On Sat, 5 Oct 2002,

Re: [PHP] Findng a pattern

2002-10-04 Thread Henry
7;s are numeric values Henry "Timothy J Hitchens" <[EMAIL PROTECTED]> wrote in message 001001c26c2a$927a9ad0$0500a8c0@BAMBINO">news:001001c26c2a$927a9ad0$0500a8c0@BAMBINO... > Are you saying you want to be able to extract the numbers etc? > > > Timothy Hitchens

Re: [PHP] Findng a pattern

2002-10-04 Thread Henry
in the same order each time? > > > Timothy Hitchens (HITCHO) > [EMAIL PROTECTED] > > HITCHO has Spoken! > > > > > > > -Original Message- > From: Henry [mailto:[EMAIL PROTECTED]] > Sent: Saturday, 5 October 2002 2:44 PM > To: [EMAIL PROTECTED] &

Re: [PHP] Findng a pattern

2002-10-04 Thread Henry
Dear Rasmus et.al. I am not wishing to reformat or display or mirror anything from google. This is for my own internal statistics. I hope that puts your mind at rest. Henry "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTE

Re: [PHP] Findng a pattern

2002-10-04 Thread Henry
Thanks "Timothy J Hitchens" <[EMAIL PROTECTED]> wrote in message 001201c26c2c$5b7091a0$0500a8c0@BAMBINO">news:001201c26c2c$5b7091a0$0500a8c0@BAMBINO... > > > > Timothy Hitchens (HITCHO) > [EMAIL PROTECTED] > > HITCHO has Spoken! > > > &g

[PHP] Parsing HTML

2002-10-28 Thread Henry
of inline javascripts I'll end up with "broken" html. Is there a way to only do the search and replace outside the tags and comments. It is further complicated by the fact that I would still like to do the replacements within strings for example within meta tags! Any ideas. Henry

Re: [PHP] Findng a pattern

2002-10-28 Thread Henry
mvent googles API's. Henry "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message news:Pine.LNX.4.44.0210042315100.28746-10@;www.lerdorf.com... > You are building something that will automatically scrape Google by > explicitly circumventing the tools they have provided

[PHP] Re: Parsing HTML

2002-10-28 Thread Henry
What; nobody has anything to say about parsing HTML and doing search and replaces!! Is there another news group that might be better suited? I do want to do it PHP if I hadn't made that clear. Somebody, anybody, please help. "Henry" <[EMAIL PROTECTED]> wrote in message new

Re: [PHP] Re: Parsing HTML

2002-10-28 Thread Henry
Thanks Jay, I am still a newbie and I will read the manual, thankyou for the help. Having an OK day in the UK . Henry "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:003f01c27e93$87bc1da0$8102a8c0@;000347D72515... > [snip] > What; nobody has

Re: [PHP] Re: Parsing HTML

2002-10-28 Thread Henry
generating the regular expression to use that will ignore the contents of tags save for the contents of quotes within meta tags and do the replace for an associative array of mappings. Hope your day is getting better in Texas. Henry "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message n

Re: [PHP] Re: Parsing HTML

2002-10-28 Thread Henry
d the time difference and do appreciate your help. Thankyou. Henry "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:004001c27e95$1c4d2580$8102a8c0@;000347D72515... > [snip] > Thanks Jay, I am still a newbie and I will read the manual, thankyou for the > h

Re: [PHP] Re: Parsing HTML

2002-10-28 Thread Henry
nt googles terms and conditions and after the replys from Rasmus I went away and looked into the mater. I agree whole heartedly with what Rasmus and others said and will not be circumventing APIs under any circumstance. Henry "John Nichel" <[EMAIL PROTECTED]> wrote in message news:3D

[PHP] include_once("blah"); vs $blah="blah"; include($blah);

2002-06-11 Thread Henry
file is included, its just the scope that seem shot Any answers? Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] include_once("blah"); vs $blah="blah"; include($blah);

2002-06-11 Thread Henry
) just messed up the scoping and global vars! Henry "Jonathan Rosenberg" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Out of curiosity, try > > global $root; > $blah="include\blah.php"; > include_once $blah;

Re: [PHP] include_once("blah"); vs $blah="blah"; include($blah);

2002-06-11 Thread Henry
But it's not ok to do any of the following: 1) $filename="include/reallyimportantstuff.php"; include_once($filename); 2) include_once("include"."/reallyimportantstuff.php"); 3) $root="include"; include_once($root."/reallyimportantstuff.php");

[PHP] php, xml and flash

2002-06-16 Thread Henry
itial step of php processing the xml formatted variables. how can i structure my php script to get at these variables? the xml would be formatted like : i need the value of variables type and search. the values may also have spaces. cheers Henry -- PHP General Mailing List (http://www.ph

Re: [PHP] is there a way to track downloads

2002-06-23 Thread Henry
i have a opensource redirect script that can easily be adapted to track downloads - just need to replace a absolute url for a file name. check it out at http://user:[EMAIL PROTECTED]/lab cheers Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Testing PHP on a local machine

2002-06-24 Thread Henry
Craig, goto http://www.php.net/downloads.php and get the php exe installer read this doc. http://in.geocities.com/samdarshipali/apache-php-mysql.htm that should get you going. cya Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mac ie and force download

2002-07-02 Thread Henry
a few weeks ago there was discussion on how to force open the dialogue save on mac ie using header() was that issue resolved? is there a solution? comments at http://www.php.net/manual/en/function.header.php discuss only win platforms cheers Henry -- PHP General Mailing List (http

[PHP] Executing a php script periodically using crond

2002-07-02 Thread Henry
Hi All I need to execute a php script every hour. I am expecting to do this using a cron job. The question is what command line do I use to execute a php script. Bearing in mind that my configuration is as shown below Thanks in advance Henry My Configuration is as follows: PHP Version

[PHP] Re: Executing a php script periodically using crond

2002-07-02 Thread Henry
PS. I cannot compile as a binary etc. This configuration is the confi of the shared server I am using which is hosted by a third part. Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Executing a php script periodically using crond

2002-07-02 Thread Henry
referrer to ensure that it is not being invoked via a browser!! I'm going to go down the wget path at the moment. Thanks in advance. Henry "Erik Price" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > On Tuesday, July 2, 2002, at

Re: [PHP] Re: Executing a php script periodically using crond

2002-07-02 Thread Henry
erver? Besides that, its working a treat with wget and php. I'll have a fully fledged autoresponder system up in no time. Thankyou all. Henry "Erik Price" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > On Tuesday, July 2,

[PHP] find and replace in php

2002-07-02 Thread Henry
ame, $product, $date, $expectation Whilst ensuring that if the variable doesn't exist then it will be replaced with "" (absolutely nothing). Thankyou in advance Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Copy of Ed Lazor's response : find and replace in php

2002-07-02 Thread Henry
Body = ""; if (empty($firstname)) $MailBody .= "Dear Customer"; else $MailBody .= "Dear $firstname"; Note the use of .= to append to the string. -Original Message- From: Henry [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 02, 2002 10:53 AM To: [EMAIL PROTECTED] Subje

[PHP] Re: Copy of Ed Lazor's response : find and replace in php

2002-07-02 Thread Henry
Thanks Ed, I would like to do that, but I'm not hard coding the letters myself. I'm trying to provide a way for others (to provide the text, who know nothing about the underlying processes) and do the search and replaces on the fly. Henry "Henry" <[EMAIL PROTECTED]&g

Re: [PHP] find and replace in php

2002-07-02 Thread Henry
Perfect Thankyou Henry "Erik Price" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > On Tuesday, July 2, 2002, at 01:52 PM, Henry wrote: > > > Imagine I have a piece of text > > > > "Dear [first

[PHP] Does Location: headers constantly

2002-07-02 Thread Henry
ty 4) should I be asking this in a different new group? Perhaps http.general? (if it exists) Henry Thanks in advance -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP/MySQL and parameterized queries

2002-07-06 Thread Henry
Does MySQL support parameterized queries (e.g., "INSERT INTO table (Col1,Col2) VALUES (?,?)"), and if so, is there a PHP function that allows you to create and attach parameters to MySQL queries? Thanks, Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

[PHP] Getting PHP to read the mail!

2002-07-10 Thread Henry
PROTECTED] and if they are I would like to processes the mail body and subject line. I'm sure there are different languages to do all this in; , Perl 5.0 for example but I like PHP ;-) Henry Thanks in advance -- PHP General Mailing List (http://www.php.net/) To unsubscri

[PHP] Re: Getting PHP to read the mail!

2002-07-10 Thread Henry
I have --with-imap for my php installation. Does that help? Henry "Henry" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Dear all, > > I'm writting an autoresponder system in PHP. and I'm using wget in my cron >

[PHP] Sessions Vars under 4.0.4pl1

2002-07-17 Thread Henry
Now when I go to the first one all is great and the session id is shown. But when I click on the "Next" link I get the next page with the same session id shown (all well and good) but no value in $HTTP_SESSION_VARS['count']!!! Where am I going wrong? Henry -- PHP General

[PHP] Regular expression for correcting proper nouns

2002-07-17 Thread Henry
e left alone!!! Is there a soultion using regular expressions? Also is there one for removing multiple spaces? i..e given "A B C D E" it would give "A B C D E". I have never used regular expression before and thought that if I had some examples like these, I could go from

[PHP] $HTTP_SESSION_VARS ? Have I got it wrong

2002-07-17 Thread Henry
"session_register('count2'); $count2=123;" in the first page followed by another page where I display "$count2" and that works fine. Why? Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] e*reminder and cron

2001-05-20 Thread Henry
ing in the simplest way. cheers Henry http://www.bigjolt.com -- 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]

[PHP] Any Ideas "@" becomes "_Xy"

2002-05-18 Thread Henry
I subscribed using the email address [EMAIL PROTECTED] They appear to have translated the "@" symbol to "_Xy". Any guess why? Is there a PHP function that does this translation for me? Is it some sort of standard? Henry -- PHP General Mailing List (http://www.php

[PHP] Re: Newbie - create image error URGENT

2002-05-18 Thread Henry
Do you have GD Installed? "Dani" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi everyone! > > I'm still learning PHP and MYSQL using windows98, MYSQL, PHP 4 in my > local hard drive. > > I want to learn uploading image and resizing image in my local machine

[PHP] How do I get rid of session id (test purposes)

2002-05-18 Thread Henry
Hello All Love Sessions! BUT how do I clear it so that when I execute session_start() again I get a new one? Help. I'm sure I should have RTFM more but I'm a newbie. Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How can I ammend the session_id

2002-05-18 Thread Henry
Dear All, I want to use the session id that session_start would create but I wish to modify it as well! Suggestions? I'm currently trying: $sessionID = uniqid(""); session_id($sessionID."u".$u."c".$c."z"); session_start(); where $u and $c are

[PHP] How can I access the value in a variable whos name is in a string

2002-05-18 Thread Henry
Dear All, $variablename="variable"; eval("\$".$variablename."=13;"); echo $variable; This works fine!! It echoes "13"; But this doesn't -> echo eval("\"$variablename\""); Why?? Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: How can I access the value in a variable whos name is in a string

2002-05-18 Thread Henry
I found one way I can do the following eval("\$val=\$".$variation.";"); echo $val; Is there a better way? Henry "Henry" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Dear All, > > $variablename=

[PHP] Non cachable php for use as an

2002-05-19 Thread Henry
help as to where I should start looking would be greatly appreciated. Henry. TIA. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mail ( ) and $to

2002-06-02 Thread Henry
ot; ; $from formatting is ok though. what's happening here? cheers Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Probs with MIME multipart/alternative generated with PEAR mime.php

2002-06-03 Thread Henry
<[EMAIL PROTECTED]> > Date: Mon, 3 Jun 2002 05:27:54 -0700 (PDT) > > --=_f74fc4c7192d1983b9f144709175f8eb > Content-Type: text/plain; charset="iso-8859-1" > Content-Transfer-Encoding: 7bit > cheers Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Probs with MIME multipart/alternative generated with PEAR mime.php

2002-06-03 Thread Henry
those pesky CRLF's! fairly happy with it now. only seems to crash on odd/less used email clients. let me know how you go. and if anyone else wants to test it - go ahead - more the better - please give bug reports if possible! cheers Henry > Thanks for the reply. I tryed tweaking the pearM

Re: [PHP] email attachments and PHP

2002-06-03 Thread Henry
on BTW. check my reply and homegrown effort to the "Probs with MIME multipart/alternative generated with PEAR mime.php" thread a little while back. cheers Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] including files with open_basedir restriction

2003-06-25 Thread Adam Henry
In response to the post found at: http://marc.theaimsgroup.com/?l=php-general&m=104913671122253&w=2 I would like to use open_basedir to stop users from reading the contents of system files, while using include/require to let users take advantage of scripts that I have created. These scripts

Re: [PHP] How to solve include_path / safe_mode / open_basedir /document_root

2003-06-26 Thread Adam Henry
PHP4: 4.3.2 Likewise, my intention is to restrict the user within '/home/ahank/public_html' when using fopen(), but allow the user to use include() on files in '/usr/local/share/wl'. Here is my VirtualHost config: php_admin_flag register_globals Off php_admin_flag safe_mode On

[PHP] OOP Question in PHP

2002-06-05 Thread Henry Blackman
riable in the $document = new Document(number); and have the constructor retrieve the appropriate data from MySQL and fill the attribute variables. Or do I do something like: $document = new Document; $document ->retrieve(number); Which is the best and most "valid" way of doing

[PHP] Help about Linux password change script

2002-03-05 Thread Henry Zambrano
Hi, I'm trying to do a script for changing the Linux password of an user in a web page. I don't know how to implement the command "passwd" in a php script or to do a shell script which would be invoked by the php script. I hope someone can help me. Tha

[PHP] Success Using PEAR?

2002-03-16 Thread Bryan Henry
anyone had success using PEAR? I have read the documentation and been trying to use the PEAR files that came with PHP 4.1.2 , PEAR cvs and PHP4/PEAR cvs with no success. I wish there was some updated documentation, and more explanation on which files to use for stable development. Every ans

[PHP] How give a 'timed' online quiz?

2001-08-13 Thread Tom Henry
Hi Could someone steer me in the right direction for this one - I can't seem to see the forest for the trees. I want to be able to show the user a set of _quiz_ questions - and almost simultaneously (that part's not critical bit) start a _timer_ for the quiz session. The critical bit is that

  1   2   >