Re: [PHP] Simple cookie question

2003-08-14 Thread David Nicholson
providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Free PHP error handling script: www.phpmachine.com/error-handler/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your frien

Re: [PHP] array method attributes (OO)

2003-08-14 Thread David Nicholson
HTH, David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Free PHP error handling script: www.phpmachine.com/error-handler/ Professional Web Development by David Nicholson h

Re: [PHP] Formatted text from mySQL DB

2003-08-14 Thread David Nicholson
ling script: www.phpmachine.com/error-handler/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? http://www.quizsender.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] drawing problem

2003-08-14 Thread David Nicholson
vice providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Free PHP error handling script: www.phpmachine.com/error-handler/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSen

Re: [PHP] HTML equivalents of accented characters

2003-08-14 Thread David Nicholson
error handling script: www.phpmachine.com/error-handler/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? http://www.quizsender.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] does PHP have a equivalent to the C++ #ifndef #define?

2003-08-14 Thread David Nicholson
e() functions instead of require() and include() to avoid this happening. All the best, David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Free PHP error handling script: www.phpmachine.com/error-handler/

Re: [PHP] Allowed mem size exhausted

2003-08-11 Thread David Nicholson
and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Free PHP error handling script: www.phpmachine.com/error-handler/ Professional Web Development by David Nicholson http://www.djnicholson.c

Re: [PHP] find string

2003-08-10 Thread David Nicholson
developed PHP scripts :: http://www.phpmachine.com/ Free PHP error handling script: www.phpmachine.com/error-handler/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you?

Re: [PHP] Allowed mem size exhausted

2003-08-10 Thread David Nicholson
ion. David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Free PHP error handling script: www.phpmachine.com/error-handler/ Professional Web Development by David Nicholson

Re: [PHP] array method attributes (OO)

2003-08-09 Thread David Nicholson
NCTION or T_VAR or '}' in > d:wwwrootstwerburghs.orgobjcontacts.obj.php on line 6 > Fatal error: Cannot instantiate non-existent class: contacts in > d:wwwrootstwerburghs.orgcmslist_contacts.php on line 9 > At 14:44 08/08/2003 +0100, David Nicholson wrote: Ah, didn't spot

Re: [PHP] How to run PHP from a MySQL DB

2003-08-08 Thread David Nicholson
> Thanks, > Jeremy http://uk2.php.net/eval will do the trick. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Free PHP error handling script: www.phpmachine.com/error-handler/ Professional

Re: [PHP] snippet

2003-08-07 Thread David Nicholson
togetherm otherwise it will be set to an empty string. HTH David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Free PHP error handling script: www.phpmachine.com/error-handler/ Professional Web Development

Re: [PHP] How can I change ? to %3F

2003-08-06 Thread David Nicholson
ple. HTH David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Free PHP error handling script: www.phpmachine.com/error-handler/ Professional Web Development by David Nicholson

Re: [PHP] preventing output dump of passthru()

2003-08-05 Thread David Nicholson
pmachine.com/ Free PHP error handling script: www.phpmachine.com/error-handler/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? http://www.quizsender.com/ -- PHP Genera

Re: [PHP] snippet

2003-08-05 Thread David Nicholson
n empty string. HTH David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Free PHP error handling script: www.phpmachine.com/error-handler/ Professional Web Development by David Nicholson

Re: [PHP] Values from forms

2003-08-04 Thread David Nicholson
ripts :: http://www.phpmachine.com/ Free PHP error handling script: www.phpmachine.com/error-handler/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? ht

Re: [PHP] Values from forms

2003-08-04 Thread David Nicholson
ld lead to tider code if you got your data into the script using an array... http://www.phpmachine.com/ Free PHP error handling script: www.phpmachine.com/error-handler Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well

Re: [PHP] using exec to run a shell script

2003-08-04 Thread David Nicholson
server does not have permission to restart the service. HTH David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Free PHP error handling script: www.phpmachine.com/error-handler Profe

Re: [PHP] connecting access (*.mdb) database with PHP

2003-08-02 Thread David Nicholson
ork. David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well

Re: [PHP] weird php error

2003-08-01 Thread David Nicholson
ne :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you?

Re: [PHP] preg, patern quantifier limit

2003-08-01 Thread David Nicholson
ionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? http://www.quizsender.com/ (developed entirel

Re: [PHP] Undefined variable problem

2003-08-01 Thread David Nicholson
r line 117*** */ You are trying to append to the variable instead of create it, change this line to: $$tmp = $value; David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Devel

Re: [PHP] Is there an easier way?

2003-07-31 Thread David Nicholson
ay(); while ($line = mysql_fetch_assoc($rs)) { $data[] = $line; } HTH David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson

Re: [PHP] Querying a form

2003-07-31 Thread David Nicholson
ine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? http://www.quizsender.com/ (developed entirely in PHP) -- PHP General M

Re: [PHP] PHP or CGI in C/C++

2003-07-31 Thread David Nicholson
phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually kn

Re: [PHP] Simple date question

2003-07-30 Thread David Nicholson
:: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know y

Re: [PHP] Updating a table after a successful download

2003-07-30 Thread David Nicholson
with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? http://www.quizsender.com/

Re: [PHP] Updating a table after a successful download

2003-07-30 Thread David Nicholson
borted() to set the status back if the connection was cancelled. David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson

Re: [PHP] Array transform date and put in a session

2003-07-29 Thread David Nicholson
e_array = split("-", $thisdatebirth); $mysqldate = $date_array[2]."-".$date_array[1]."-".$date_array[0]; } David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/

Re: [PHP] Array transform date and put in a session

2003-07-29 Thread David Nicholson
one help me? -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your

Re: [PHP] Weird Problem

2003-07-29 Thread David Nicholson
before $row = mysql_fetch_row($result); David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSend

Re: [PHP] Bizarre SQl, if issue....

2003-07-29 Thread David Nicholson
d more help from the group I would reccomend a new post, a code extract, what you expect to happen and what is actually happening. HTH, David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professio

Re: [PHP] Bizarre SQl, if issue....

2003-07-29 Thread David Nicholson
ing? David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How w

Re: [PHP] Bizarre SQl, if issue....

2003-07-29 Thread David Nicholson
th professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? http://www.quizsender.com/ (dev

Re: [PHP] Bizarre SQl, if issue....

2003-07-29 Thread David Nicholson
=0){ // result set was empty } HTH David -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ Q

Re: [PHP] wheres the problem?

2003-07-29 Thread David Nicholson
ors you posted. David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your fri

Re: [PHP] How can I add records to database every 60 minutes???

2003-07-29 Thread David Nicholson
se service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you?

Re: [PHP] how to make a global scope array

2003-07-25 Thread David Nicholson
eveloped PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? http://www.quizsender.com/ (developed enti

Re: [PHP] how to make a global scope array

2003-07-25 Thread David Nicholson
k and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you?

Re: [PHP] Problem with MySQL Query

2003-07-23 Thread David Nicholson
. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually

Re: [PHP] Problem with MySQL Query

2003-07-23 Thread David Nicholson
lans" from the listing. Try $dbqueryshipping1 = "select * from tempuserpurchase where (usersessionid=\"$User_Shopping_Id\") and day=\"1\" and type<>'Meal Plans' David -- phpmachine :: The quick and easy to use service providing y

Re: [PHP] php function on php.net

2003-07-22 Thread David Nicholson
ative to your httpdocs for your error document, e.g. ErrorDocument 404 /myerrorpage.php instead of ErrorDocument 404 http://mysite/myerrorpage.php David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/

Fwd: Re: [PHP] bug in addslashes command?

2003-07-22 Thread David Nicholson
rom: David Nicholson <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Date: Tue, 22 Jul 2003, 20:58 Subject: Re: [PHP] bug in addslashes command? ===8<==Original message text=== Hello, This is a reply to an e-mail that you wrote on Tue, 22 Jul 2003 at 20:51, lines prefixed

Re: [PHP] magic quotes

2003-07-22 Thread David Nicholson
phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do yo

Re: [PHP] bug in addslashes command?

2003-07-22 Thread David Nicholson
last ' unescaped. On my PHP 4.3.2 installation, echo addslashes("the 'capitol-' of Kefalonia"); displays: the 'capitol-' of Kefalonia which appears to be correct. David. -- phpmachine :: The quick and easy to use service providing you with professionally develo

Re: [PHP] magic quotes

2003-07-22 Thread David Nicholson
tion for your database server, e.g. for mySql, mysql_escape_string() <http://uk2.php.net/mysql_escape_string> David -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Deve

Re: [PHP] Redirect output of include() for mailing

2003-07-22 Thread David Nicholson
sionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? http://www.quizsender.com/ (deve

Re: [PHP] Redirect output of include() for mailing

2003-07-22 Thread David Nicholson
HTH David -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com

Re: [PHP] Arrays and Alphabetical order

2003-07-22 Thread David Nicholson
er(substr($data[$arrayposition],0,1))==$i){ echo $data[$arrayposition] . ""; $arrayposition++; } } -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nich

Re: [PHP] XX outputting X signs

2003-07-22 Thread David Nicholson
ith professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? http://www.quizsender.com/

Re: [PHP] £ outputting £ signs

2003-07-22 Thread David Nicholson
nally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? http://www.quizsender.com/

Re: [PHP] regex help?

2003-07-21 Thread David Nicholson
egs); HTH David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - Ho

Re: [PHP] SQL select

2003-07-21 Thread David Nicholson
but here goes... SELECT * FROM tablename GROUP BY id_comp will probably do it. David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson

Re: [PHP] Setting total db size to a variable.

2003-07-19 Thread David Nicholson
: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? http://www.quizsender.com/ (developed entirely in PHP)

Re: [PHP] MySQL datetime extraction

2003-07-19 Thread David Nicholson
r Bit off topic for this list, but see the DATE_FORMAT() function at http://www.mysql.com/doc/en/Date_and_time_functions.html David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional

Re: [PHP] Question about Include_once

2003-07-19 Thread David Nicholson
? just for operations in the page where it is stated David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.c

Re: [PHP] what is the problem?

2003-07-19 Thread David Nicholson
t; . This line of code will onyl work if the name of your input tag is sentence and register globals is switched on. David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Pro

Re: [PHP] Parsing POP3 Mailbox

2003-07-17 Thread David Nicholson
hpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually kno

Re: [PHP] Parsing POP3 Mailbox

2003-07-17 Thread David Nicholson
($thisline!=".\r\n"){ // .\r\n signifies the end of the message $thisline = fgets($this->sock, 1024); $this->messagesource .= $thisline; } return TRUE; } else { $this->error = "Not connected

Re: [PHP] bcc on php

2003-07-17 Thread David Nicholson
if what you are describing happens it is because of an error in the code or the SMTP server you are using has messed up. David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Dev

Re: [PHP] Need Help: Please click on Test Link

2003-07-16 Thread David Nicholson
ctly though and let the user override the country settings if it effects how they can use your site). David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Develo

Re: [PHP] PROBLEMS WITH STRINGS & SQL DATABASE

2003-07-16 Thread David Nicholson
lso work: $data = addslashes($data); David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ Qui

Re: [PHP] PHP explodes without using isset()

2003-07-16 Thread David Nicholson
ervice providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? http://www.q

Re: [PHP] get size of variable n bytes

2003-07-16 Thread David Nicholson
rvice providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? http://w

Re: [PHP] get size of variable n bytes

2003-07-16 Thread David Nicholson
work with text data as numbers types, bool types etc will be stored differently. David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson

Re: [PHP] get size of variable n bytes

2003-07-16 Thread David Nicholson
o look for a function within your database that will calculate it for you. HTH, David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson

Re: [PHP] socket programming

2003-07-15 Thread David Nicholson
hine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? http://www.quizsender.com/ (developed entirely in PHP) -- PHP General Mailing

Re: [PHP] Exec command not working through php

2003-07-15 Thread David Nicholson
mater for the exec function to retrieve the return status of the command you are executing. David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nichol

Re: [PHP] Exec command not working through php

2003-07-15 Thread David Nicholson
mailid"."tmp"; and check that it contains what you expect it to. All the best, David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nichols

Re: [PHP] How can I display an image within a script?

2003-07-15 Thread David Nicholson
PHP script. David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well

Re: [PHP] simple imap functions

2003-07-15 Thread David Nicholson
ctions and use them: http://uk2.php.net/imap David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/

Re: [PHP] variable sized arrays & global vars - another newbie question

2003-07-15 Thread David Nicholson
bal $counter; $counter++; } IncCounter(); echo $counter; // 1 is displayed === works fine, maybe it is a problem with your particular code? David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/

Re: [PHP] socket programming

2003-07-15 Thread David Nicholson
e program has to do is send it's output to the standard output (use echo in the case of PHP). David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development

Re: [PHP] Eval var from query

2003-07-14 Thread David Nicholson
line 1 What are the exact contents of data? David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ Q

Re: [PHP] What is wrong??????

2003-07-14 Thread David Nicholson
in any included files before the session_start(); line. You may have accidentally sent a space or a newline if http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually kn

Re: [PHP] Eval var from query

2003-07-14 Thread David Nicholson
for more info. All the best, David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSe

Re: [PHP] How do I dump a blob or text into a mySQL Database?

2003-07-14 Thread David Nicholson
= mysql_escape_string($buffer); beofre the one that you mentioned above. HTH David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson

Re: [PHP] BigEndian to integer

2003-07-14 Thread David Nicholson
with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? http://www.quizsender.com/

Re: [PHP] Replacing newlines (n) with smething else

2003-07-13 Thread David Nicholson
f can be used to cause a line break and if that is being done your code will not be detecting it. David -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by Da

Re: [PHP] Writing to files

2003-07-11 Thread David Nicholson
order echo $filelines[$i] . "\n"; } -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnichols

Re: [PHP] Writing to files

2003-07-11 Thread David Nicholson
to the data you wish to add and saving the entire file again (which will obviously take longer than appending to the end of the file). David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professi

Re: [PHP] Unknown Syntax

2003-07-11 Thread David Nicholson
easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you?

Re: [PHP] nlist

2003-07-10 Thread David Nicholson
ly developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? http://www.quizsender.com/ (developed entirely

Re: [PHP] newbie array question

2003-07-10 Thread David Nicholson
$allnames = array(); while($thisname = sybase_fetch_row($result)){ $allnames[] = $thisname[0]; } I have never used the sybase db functions though so I may be incorrect. All the best, David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP

Re: [PHP] Get previous folder

2003-07-10 Thread David Nicholson
= dirname($folder); // $folder now contains "/path/to/folder/" For more info look at: http://uk2.php.net/manual/en/function.dirname.php HTH David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.

Re: [PHP] proxy... of a sorts.

2003-07-09 Thread David Nicholson
take a guess at them from the file name and send them using the header() function. All the best, David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development b

Re: [PHP] Returning values from functions

2003-07-09 Thread David Nicholson
= auth_user($_SESSION['login']); var_dump($username); David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://w

Re: [PHP] linking with home directory path

2003-07-09 Thread David Nicholson
computer. Remote browsers will not be able to access the style sheet as you are referencing it as a file on your server machine. Is this what you intended? David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmach

Re: [PHP] Antithesis to array_unique

2003-07-09 Thread David Nicholson
oviding you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? http://www.quizsender

Re: [PHP] how to force variables declaration??

2003-07-08 Thread David Nicholson
iding you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? http://www.quizsender.com/

Re: [PHP] echo not working!!!

2003-07-06 Thread David Nicholson
s not understand and displaying the "); ?> as text. If this is the case you need to check your httpd.conf. David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professio

Re: [PHP] __FILE__ plus variables?

2003-06-28 Thread David Nicholson
/www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? http://www.quizsender.com/ (developed entirely in PHP) -- PHP Gene

Re: [PHP] q: extract() and get_defined_vars()

2003-06-27 Thread David Nicholson
sing variable variables which produces much easier to read code. David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson

Re: [PHP] q: extract() and get_defined_vars()

2003-06-27 Thread David Nicholson
use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? http://www.q

Re: [PHP] SORRY

2003-06-27 Thread David Nicholson
copied to the group so you can find it again in the groups archive at: http://marc.theaimsgroup.com/?l=php-general&m=105671320623391&w=2 David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/

Re: [PHP] print array

2003-06-27 Thread David Nicholson
id. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your fri

Re: [PHP] twodimensional array / word-frequencylist

2003-06-26 Thread David Nicholson
ts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? http://www.quizsender.com/ (developed entirely in PHP) -- PHP General M

Re: [PHP] twodimensional array / word-frequencylist

2003-06-26 Thread David Nicholson
unt times\n"; } HTH David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender

Re: [PHP] Command line php output redirection.

2003-06-25 Thread David Nicholson
ameter? what do you get then? -q Quiet-mode. Suppress HTTP Header output. David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nichol

Re: [PHP] Generating Message-ID when sending messages

2003-06-25 Thread David Nicholson
to add message IDs to e-mails in a number of PHP applications both on Windows (using a relaying SMTP server) and on FreeBSD (using sendmail). David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/

  1   2   >