[PHP] why does this script mysteriously die?

2003-10-03 Thread Craig Lonsbury
to 350 pix in one go before stoping, and it takes 3 or 4 tries to get it restarted. I have set_time_limit(0); in the code, so it isn't timing out. I can't even think what else it could be, so any help is greatly appreciated. thanks in advance, Craig if ($HTTP_GET_VARS['resize'] == 'resize

RE: [PHP] why does this script mysteriously die?

2003-10-03 Thread Craig Lonsbury
it's not a time limit or safe mode issue, the script is currently running, and has been for about 10 minutes. it's not a fast script =( Craig Is safe mode on? Craig Lonsbury wrote: Hi All, I have a script that takes a directory of user uploaded files and resizes them to the required sizes

RE: [PHP] Help with treeview

2003-10-02 Thread Craig Lonsbury
This should get you started... http://www.sitepoint.com/article/1105/1 it is a great article assuming that you will be using a db to store your data. hth, Craig -Original Message- From: Stephen [mailto:[EMAIL PROTECTED] Sent: October 1, 2003 11:19 PM To: [EMAIL PROTECTED] Subject

RE: [PHP] Flash Chat

2003-09-18 Thread Craig Lonsbury
, and php doing all of the backend db work. it is pretty straightforward to get flash and php working together. have fun, Craig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Feeling a bit brain dead, please help in maths: averages

2003-09-17 Thread Craig Lonsbury
off the top of my head: SELECT AVG(age), SUM(salTotal) FROM blah WHERE section = 3 i'm not sure if you can use the 2 functions in the same query, you might have to break it into 2 queries. Craig -Original Message- From: Ryan A [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17

RE: [PHP] Feeling a bit brain dead, please help in maths: averages

2003-09-17 Thread Craig Lonsbury
(salTotal) FROM blah WHERE section = 3 i'm not sure if you can use the 2 functions in the same query, you might have to break it into 2 queries. Craig -Original Message- From: Ryan A [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 3:08 PM To: [EMAIL PROTECTED

RE: [PHP] Whats wrong with my code?

2003-09-16 Thread Craig Lonsbury
no semicolon after include ($include) hope that helps, Craig -Original Message- From: Stevie D Peele [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 3:11 PM To: [EMAIL PROTECTED] Subject: [PHP] Whats wrong with my code? Can someone spot what Is wrong with my code? ?php

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

2003-08-02 Thread Craig Roberts
Have a look for MyODBC. I've got Access talking to SQL easily, dont know if it can be done the other way round. Craig Roberts Skate [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] how can I connect access database(*.mdb) with php? what is the code? I will be happy if you write

[PHP] Re: LDAP_connect()

2003-08-02 Thread Craig Roberts
Have you enabled the module in php.ini? Uncomment the line extension=php_ldap.dll in php.ini (windows..) I think LDAP support needs to be complied in on Linux but I've never used it so cant say. Craig Roberts Ron Allen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Everytime I try

[PHP] Re: subtracting dates...

2003-08-02 Thread Craig Roberts
typing craig :) John Ryan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] yeah, i was thinking that before i decided to post to the newsgroup. i thought there was some simple way of doing it and id be wasting my time. obviosuly not Craig Roberts [EMAIL PROTECTED] wrote in message news

[PHP] Re: subtracting dates...

2003-08-02 Thread Craig Roberts
Try something along the lines of if($current_MM $MM) { $age = $calculatedage - 1; } you'll also need to do something like this with the day of the month if the user's bday is in the current month. at least... i think that works out :$ Craig Roberts John Ryan [EMAIL PROTECTED] wrote

[PHP] Re: howto set variablevalue with link?

2003-08-01 Thread Craig Roberts
Yeah - a href=page.php?lang=en then access the variable in page.php - $_GET['lang'] == en; You could then store the language variable in a cookie, session or just pass it from page to page by calling each page with page.php?lang=xx. Craig Roberts Kalle Saarinen [EMAIL PROTECTED] wrote

[PHP] Re: COUNT(*)

2003-08-01 Thread Craig Roberts
use mysql_fetch_rows(); $result=SELECT COUNT(*) FROM pet; $sql=mysql_query($result); $number_of_rows = mysql_fetch_rows($sql); while ($row=mysql_fetch_array($sql)){ $pet_name=$row['pet_name']; echo ..; } Craig Roberts Yury B . [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi

[PHP] Re: reading variables in other script files

2003-08-01 Thread Craig Roberts
the variable out of it... ***MESSY, SLOW AND DIRTY*** Craig Roberts Kalle Saarinen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello I was just wondering how can I get value of a variable in php code located in a different file? ie. I have file1.php wich stores $var1 how can

RE: [PHP] Sorting Country List

2003-06-25 Thread Craig Avnit
for that if you need it. Craig -Original Message- From: Ralph [mailto:[EMAIL PROTECTED] Sent: 25 June 2003 06:43 To: PHP General Mailing List Subject: [PHP] Sorting Country List I am getting a list of all countries from mysql database, and then I am sorting by country name. However

Re: [PHP] Standalone PHP Client?

2003-06-24 Thread Craig
Have a look here, this may help: http://www.triplehash.com/content.php?id=26 Regards, Craig Galen P. Zink [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Well, having a solid product that people can look at offline has been a major selling point in the past. The customers we

[PHP] MSSQL - Previous/Next Paging Results

2003-06-10 Thread Craig
MSSQL seems to be a little bit messier that MySQL..e.g limit clause etc Anyone know of articles/examples that specifically deal with this issue? Any insight appreciated. Craig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re[2]: [PHP] Imgs in Database

2003-06-05 Thread Craig
Just for your info..I researched this a bit further..and with a little help from the manual, the following works a treat.: Cheers, Craig ?php // Function to convert Hex to Binary function hex2bin($hexdata

[PHP] Imgs in Database

2003-06-04 Thread Craig
on this for me? Regards, Craig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] tets

2003-04-03 Thread Craig
test -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] MSSQL using Sybase FreeTDS

2003-04-03 Thread Craig
near 's'. (severity 15) in /var/www/html/clients/pages/add_client.php on line 17 Has anyone experienced this, and if so know of a possible solution?? I have used addslashes() etc but still no joy. Thanks in advance. Craig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Word Count

2003-01-24 Thread Craig
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... words, for a programming language, are nothing more than just the spaces. So, as previousely was shown - could the mount of spaces in the string to get the amount of `words' in between them. -- Maxim Maletsky [EMAIL PROTECTED] Crai

[PHP] Word Count

2003-01-23 Thread Craig
Is there a way to count the number of words in a string? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] test_smtp.php

2003-01-07 Thread Rad Craig
. Rad Craig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Months of the year

2003-01-06 Thread Craig
01 Thanks Craig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mail() not working on Win2k

2003-01-06 Thread Rad Craig
. Rad Craig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] mail() not working on Win2k

2003-01-06 Thread Rad Craig
To: '[EMAIL PROTECTED]'; PHP Mailing List Subject: RE: [PHP] mail() not working on Win2k Do you have this line in your php.ini file? SMTP = your mail server here ;for win32 only -Original Message- From: Rad Craig [mailto:[EMAIL PROTECTED]] Sent

[PHP] include directory?

2003-01-06 Thread Rad Craig
Where should this point to? Mine points to c:\php4\pear and I dont' have a pear directory under \php4. Rad Craig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php.ini - changes aren't taking?

2003-01-06 Thread Rad Craig
? Rad Craig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] mail() not working on Win2k

2003-01-06 Thread Rad Craig
To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [PHP] mail() not working on Win2k Hello, Rad Craig [EMAIL PROTECTED] wrote: yes, I've tried: SMTP = localhost SMTP = 127.0.0.1 SMTP = mail.mydomain.com SMTP = internal.ip.address None made any difference, so I've set it back

RE: [PHP] php.ini - changes aren't taking?

2003-01-06 Thread Rad Craig
I run IIS5, but yes, I restart it each time I make a change. -Original Message- From: Mat Harris [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 10:26 AM To: Rad Craig Cc: PHP Mailing List Subject: Re: [PHP] php.ini - changes aren't taking? have you restarted apache

RE: [PHP] php.ini - changes aren't taking?

2003-01-06 Thread Rad Craig
Craig wrote: I have been trying to get my email working. I have made some changes in the php.ini file in the Windoze directory, but when I run phpinfo() the changes I make aren't changing on what it prints out. I have logging turned on in my php.ini file, but phpinfo() says it's turned

RE: [PHP] php.ini - changes aren't taking?

2003-01-06 Thread Rad Craig
aren't taking? On Tuesday 07 January 2003 00:26, Rad Craig wrote: I have been trying to get my email working. I have made some changes in the php.ini file in the Windoze directory, but when I run phpinfo() the changes I make aren't changing on what it prints out. I have logging turned

RE: [PHP] php.ini - changes aren't taking?

2003-01-06 Thread Rad Craig
-Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 10:55 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] php.ini - changes aren't taking? On Tuesday 07 January 2003 00:43, Rad Craig wrote: Yes, I restart my WebServer (IIS 5) each time

RE: [PHP] Re: mail() not working on Win2k

2003-01-06 Thread Rad Craig
() not working on Win2k Hello, On 01/06/2003 01:21 PM, Rad Craig wrote: I'm running under Win2k, new install of PHP(last week), I have been trying to test the mail() function, but it doesn't seem to work. I host my own mail server on the same machine and I know it works, has been

[PHP] How to get the mail sending stuff to work on Win2k?

2003-01-05 Thread Rad Craig
in the event logs. One more question, when I make a change to that ini file, do I have to reboot the machine or just restart IIS? Rad Craig Rad Craig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

FW: [PHP] How to get the mail sending stuff to work on Win2k?

2003-01-05 Thread Rad Craig
in c:\winnt\system32\Logfiles\\blah.log. Also to reload the php settings you just have to restart IIS. Hope this helps Andrew - Original Message - From: Rad Craig [EMAIL PROTECTED] To: Andrew Brampton [EMAIL PROTECTED] Sent: Monday, January 06, 2003 12:20 AM Subject: RE: [PHP

RE: [PHP] How to get the mail sending stuff to work on Win2k?

2003-01-05 Thread Rad Craig
I just turned PHP authentication off and it didn't make any difference, still didn't receive any email from PHP. Rad... -Original Message- From: Rad Craig [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 05, 2003 6:37 PM To: PHP Mailing List Subject: FW: [PHP] How to get the mail

RE: [PHP] Re: Problems connecting to a MySQL database

2002-12-12 Thread Craig Thomas
() if the mysql.allow_persistent directive is enabled. -Craig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP + MySQL looping question

2002-12-12 Thread Craig Thomas
The problem is I have to reset the SQL result array on each for loop. How do you do that? $myNewArrayFullofSqlResultsThatICanLoopOverAsManyTimesAsIWant = mysql_query($sql); -Craig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP + MySQL looping question

2002-12-12 Thread Craig Thomas
Set the new array before your for loops, then loop over the array. -Craig -Original Message- From: Mark McCulligh [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 12, 2002 4:56 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] PHP + MySQL looping question If I understand you if you use

RE: [PHP] MySQL error

2002-12-12 Thread Craig Thomas
= mysql_fetch_row($mysql_result)) Anyway, where do you define $row? HTH -Craig -Original Message- From: GWAD Mailinglist [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 12, 2002 6:01 PM To: [EMAIL PROTECTED] Subject: [PHP] MySQL error Hi, I have following problem: list.php3

RE: [PHP] MySQL error

2002-12-12 Thread Craig Thomas
-- line 36 while($row = mysql_fetch_row($mysql_result)) Anyway, where do you define $row? HTH -Craig DOH! it's been a long one... -Craig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Pls Help: Moving script from Win to Linux

2002-12-10 Thread Craig Thomas
think. Just a thought, -Craig -Original Message- From: Rodney Green [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 11:35 AM To: Shane; [EMAIL PROTECTED] Subject: Re: [PHP] Pls Help: Moving script from Win to Linux Needs to be changed to the following if your forms are using

RE: [PHP] Re: Help please: Unable to get $_POST[variable]; to work in a form.

2002-12-10 Thread Craig Thomas
Using $_REQUEST[] works because the vars are in the http request, but $_POST[] contains nothing as the other poster noted: mehtod=post -Original Message- From: David Scott [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 1:20 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Help

RE: [PHP] Pls Help: Moving script from Win to Linux

2002-12-10 Thread Craig Thomas
Can't be done at run-time. See table in manual. Perhaps programmatically was the wrong word. Using .htaccess files it can be set per directory/site. http://www.php.net/manual/en/security.registerglobals.php (read to the BOTTOM of the page). -Craig -Original Message- From

[PHP] Re: Help on OOP

2002-12-09 Thread Craig
I found this to be a good beginners tutorial on the subject http://www.onlamp.com/pub/a/php/2002/07/18/php_foundations.html Craig Mohd_q [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I can't distinguish between objects, classes, and functio

[PHP] images

2002-11-29 Thread Craig
joined together. I can do this with one fine, but I thought there may be some sort of GD function that would tackle this. Thanks for any help, Craig ?php Header(Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0); Header(Expires: Thu, 19 Nov 1981 08:52:00 GMT

[PHP] Re: array with session

2002-11-29 Thread Craig
. Hope that helps, Craig Laurence [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... hello everyone, I'm trying to get some images value from a checkbox putting them in a session to preserve the data. The array works perfectly without the sessi

[PHP] Re: array with session

2002-11-29 Thread Craig
Files are attached.. Craig Craig [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... You should have session_start(); on every page that you want to hold the session. The way I would do what you are trying to achieve is go the $_SUPERGLOB

[PHP] Identifying users

2002-11-27 Thread Craig
. Anyone any Ideas? Craig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: If statement w/ multiple conditions

2002-11-26 Thread Craig
Something like this will work... ?php if(empty($_GET['1']) empty($_GET['2']) empty($_GET['3']) empty($_GET['4'])){ echo All vars are EMPTY; }else{ echo Some vars contain Content; } ? [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I'll be

Re: [PHP] If statement w/ multiple conditions

2002-11-26 Thread Craig
Something like this will work... ?php if(empty($_GET['1']) empty($_GET['2']) empty($_GET['3']) empty($_GET['4'])){ echo All vars are EMPTY; }else{ echo Some vars contain Content; } ? [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... The db will

[PHP] Sessions/Browser back button

2002-11-25 Thread Craig
I remember seeing threads debating this before, but is there anyway to disable/prevent a user from heading back in the browser and getting the WARNING: Page has Expired notice? Cheers Craig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: File Write Permission Errors - HELP! URGENT!!!

2002-11-25 Thread Craig
you must give the same permissions to the folder also. Phil Powell [EMAIL PROTECTED] wrote in message 0ca201c2947e$44690a80$dcbe6444@scandinawa1bo6">news:0ca201c2947e$44690a80$dcbe6444@scandinawa1bo6... Hi I have the following code that breaks: // PLACE NICK INTO NICKNAMES.TXT AND START OFF

[PHP] Re: Php Search Engine

2002-11-25 Thread Craig
hotscripts.com [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am in need of a search engine. I'd rather do one in PhP. Is there one available that I can see or at least get the code for? I'm a newbie to php. :) Krystal -- PHP General Mailing List

[PHP] Passing Variables

2002-11-23 Thread Craig Edgmon
I am sure this question has been answered, but there is a ton of data to sift through on this. I am running Apache 1.3 and the latest PHP 4.2.3. . I am just working with variables and I cannot seem to get them to pass from my html file to the php call. I will get the html portion fine, but not the

[PHP] PHP Version of Outlook????

2002-11-22 Thread Craig
Does Any one of a web based version of Microsoft Outlook/MSN Hotmail address book and scheduler -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Version of Outlook????

2002-11-22 Thread Craig
lar apps though, very good ones actually. -- Maxim Maletsky [EMAIL PROTECTED] Craig [EMAIL PROTECTED] wrote... : Does Any one of a web based version of Microsoft Outlook/MSN Hotmail address book and scheduler -- PHP General Mailing List (http://www.php.net/) To uns

[PHP] Re: Swear word substitution

2002-11-19 Thread Craig Donnelly
http://www.evilwalrus.com/viewcode/560.php Cj [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I'm posting this again as i got a mail saying Trend SMEX Content Filter has detected sensitive content. Place = [EMAIL PROTECTED]; ; Sender = CJ Subject = [PHP]

[PHP] ACT Based Contact Management System

2002-11-19 Thread Craig
Does anyone know of any sites that offer a web based contact management system that works in a similar way to ACT? I want to implement such a system that connects to a mysql database -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Here Document on Mac OS X

2002-11-12 Thread Craig Buxton
I have been trying to include an echo statement incorporating a here document on pages being served by my Mac OS X (v10.1.5) and Apache (v1.3) When I try to browse test.php, which contains... ?php echoENDOFECHO html hello...hello... /html ENDOFECHO; ? I get a parse error. When I upload it to

[PHP] re: echo w/ here document

2002-11-12 Thread Craig Buxton
I'm still having a problem with including a here document. Trying this code: ?php echo ENDOFECHO HTML BODY hello... hello... hello... hello... /BODY /HTML ENDOFECHO; ? I get a parse error on line 7. Please help. I have a major project that has ground to a halt. Craig Buxton Gravity Pilot

[PHP] echo w/ here document

2002-11-11 Thread Craig Buxton
can't find where I've gone wrong. Any help would be greatly appreciated. Craig Buxton Gravity Pilot Productions [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP driven frame

2002-11-05 Thread Craig
Why do you nee to use frames? Wouldn't it be asier to set hidden fields in the second form and submit the values of the first form to these hidden fields. Personally I would submit the form into the same page Chris Rehm [EMAIL PROTECTED] wrote in message

[PHP] finding a value in an array

2002-11-04 Thread Craig
this Thanks Craig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Select values in an array???

2002-10-29 Thread Craig
displayed on the page how do i create an array of all the items in a list on the page? any help would be gratefully appreciated craig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Select values in an array???

2002-10-29 Thread Craig
multiple many times - Original Message - From: John Nichel [EMAIL PROTECTED] To: Rick Emery [EMAIL PROTECTED] Cc: Craig [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, October 29, 2002 9:33 AM Subject: Re: [PHP] Select values in an array??? You do if you want to select multiple

[PHP] Re: confirm box

2002-10-09 Thread Craig Donnelly
On your submit button put the following: input type=submit name=submit onClick=return confirm('Are you sure you want to delete??') Hope that helps, Craig Davy Obdam [EMAIL PROTECTED] wrote in message 001a01c26f9e$a1c78a80$960a@davy">news:001a01c26f9e$a1c78a80$960a@dav

[PHP] Bus Schedule / Time table

2002-09-27 Thread Craig
I have been given the task to program a site in php that displays the timetable of a local bus company Does any one have any suggestions into where to look for any info or advice? Thanks craig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Re: Sending Attachements through php email form

2002-09-12 Thread Craig Donnelly
Edit this to what you need: http://www.evilwalrus.com/viewcode.php?codeEx=546 Regards, Heidi Belal [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I was wondering if anybody could tell me the best way and how to code sending an attachement with an email

RE: [PHP] Using HTTP Referer

2002-09-11 Thread Craig Vincent
referring URLs at all, and some browsers (such as AOL) do not pass referring URLs if the page now being access was opened up in a new window. You may want to prepare for the potential of not having a referring url be passed occasionally as well. Craig -- PHP General Mailing List (http

[PHP] Re: checkbox question

2002-09-10 Thread Craig Donnelly
; ? == Best of luck, Craig B.C. Lance [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... if you can't use [] for the checkbox, the only way out is to have unique name for each checkbox. otherwise, php will always be returning the value of the last

[PHP] Re: checkbox question

2002-09-09 Thread Craig Donnelly
; print_r($_POST[interesting_area]); echo /pre; ? From here it depends on what you want to do with the data.. You can loop through the array, using for(), foreach() or while(), or alternatively write a function to manipulate the data. Hope that helps, Craig Alex Shi [EMAIL

[PHP] Re: select box

2002-09-09 Thread Craig Donnelly
Can you be a bit more clearer with your question? Meltem Demirkus [EMAIL PROTECTED] wrote in message 011c01c257f0$c4499780$5583@hiborya">news:011c01c257f0$c4499780$5583@hiborya... Hi, Can I put the selected option of select box later by using php? thanks -- PHP General

RE: [PHP] Help needed about queries with MySQL, thanks.

2002-08-18 Thread Craig Vincent
(which I assume is would) the quotes aren't needed, you never know. Some OSes are quirky. Also you may want to add an echo mysql_error(); line after your initial mysql_query to see if perhaps there's a problem with PHP communicating with MySQL. Sincerely, Craig Vincent -- PHP General

RE: [PHP] Credit Card Validation With Expiration Date

2002-07-30 Thread Craig Vincent
as it is past the present date there's no way to consider it invalid without cross-referencing against a database of active cards. Sincerely, Craig Vincent -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Creating a calender / diary

2002-07-24 Thread Craig
, or if an entry is at 10:15 for example. Any ideas??? Craig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Generating word documents based on fields in a browser

2002-07-11 Thread Craig
Thanks for all the info, i have found a temporary solution which i am currently going to develop If anyone is interested, I found the following at http://www.pscode.com/xq/ASP/txtCodeId.625/lngWid.8/qx/vb/scripts/ShowCode.h tm Thanks Again Craig -- PHP General Mailing List (http

[PHP] Customise Index page using PHP????

2002-07-11 Thread Craig
Is there a way to create a customised version of the index directory structure using php? Eg listing all the pages in the specific directory when an index page isnt created? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Customise Index page using PHP????

2002-07-11 Thread Craig
I want to acheive something like this http://www.claviga.com/index.php?pageid=18 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Generating word documents based on fields in a browser

2002-07-10 Thread Craig
Is this possible I want to create a form, similar to an invoicing system that generates a word document that the user can print out Any help would be gratefully appreciated. craig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Generating word documents based on fields in a browser

2002-07-10 Thread Craig
I know that php can open files. What I was wondering is if it can :- Start Word Open a Word template Generate fields in the template based on hidden fields and generate the page David Otton [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Wed, 10 Jul 2002

Re: [PHP] Generating word documents based on fields in a browser

2002-07-10 Thread Craig
I need to be able to keep a record of documents created. I have found this but failed to get it to work ? $word=new COM(word.application) or die(Cannot start MS Word); print Loaded word version ($word-Version)\n; $word-visible = 1 ; $word-Documents-Add(); $word-Selection-Typetext(This is a

[PHP] Re: Testing PHP on a local machine

2002-06-26 Thread Craig
Thanks for pointing me in the right direction However, just have a few other questions:- Do i need to install apache if i use the windows self extracting version? Can all this be also done on a laptop? Thanks for all the advice Craig Craig [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED

Re: [PHP] function echo ' '

2002-06-25 Thread Craig
Can you use a href=? echo $address; ? or is this bad coding? René moonen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Use the escape character to output double quotes echo 'a href=\$address\'; René Martin Johansson wrote: Is there a way to express

[PHP] Testing PHP on a local machine

2002-06-24 Thread Craig
me into the right direction, relvant websires etc??? Thanks Craig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] newbie on security

2002-06-24 Thread Craig Williams
Will PHP ever support code protection ? Something to encrypt the php file so when customers get copies they can't tamper with the code ;-) I know Zend have a solution but its too bloody expensive and must be supported by the hosting isp. Craig

[PHP] Re: SMS with PHP

2002-06-11 Thread Craig Donnelly
You need to have an SMS gateway..Have a look on hotscripts.com here: http://www.hotscripts.com/search/?query=smscategory=php Regards, Craig Alexandra Aguiar [EMAIL PROTECTED] wrote in message 025f01c210a6$d1657ce0$[EMAIL PROTECTED]">news:025f01c210a6$d1657ce0$[EMAIL PROTECTED]... H

[PHP] Re: Setting Cookies

2002-06-10 Thread Craig Donnelly
http://www.php.net/manual/en/reserved.variables.php#reserved.variables.cooki es Use Superglobals...you will see what I mean. Also, Apache 2.0 is not recommended as of yet for PHP commercial development http://www.apacheweek.com/issues/02-06-07 Regards, Craig Scott 'Intense!' Reismanis [EMAIL

[PHP] Baffled, line producing error

2002-06-01 Thread Craig Vincent
I was happily coding when I came across a mysterious error. I've traced it to this line if ($player_password != $player_password_verify) { $errmsg .= 'Password don't match. Please try againBR'; $error = 1; } commented out the script runs fine, if this line is active an error is produced. My

Re: [PHP] Baffled, line producing error

2002-06-01 Thread Craig Vincent
this message does not arise when line 15 is removed I can only assume the error is actually on that line and not a missing quote or bracket somewhere else in the script. Sincerely, Craig Vincent -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Baffled, line producing error

2002-06-01 Thread Craig Vincent
for pointing out the mistake Sincerely, Craig Vincent -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] how to select a file on a random basis?

2002-05-20 Thread Craig Vincent
detail when I'm more awake hehe. Sincerely, Craig Vincent -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP,Apache disabled FTP?

2002-05-18 Thread Craig Vincent
. Sincerely, Craig Vincent -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Looking for web based email

2002-05-17 Thread Craig
I am in the process of developing a website with a webmail system similar in functions to hotmail Does anyone have any suggestions for where to start? thanks craig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP and MySQL

2002-05-17 Thread Craig Vincent
post =) Sincerely, Craig Vincent -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Looking for web based email

2002-05-17 Thread Craig
n source and developing at a rate of knotts. Its very easy to install, although it does currently require cookies... but Im urging them to shy away from that ;) - Dan http://nocc.sourceforge.net/ -Jared -Original Message- From: Craig [mailto:[EMAIL PROTECTED]] I am in the process of de

RE: [PHP] Feelin' dumb...

2002-05-17 Thread Craig Vincent
the parenthesis in the $number line are not needed however I typically code with them as it makes it easier to understand the code with less though =) Sincerely, Craig Vincent -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Feelin' dumb...

2002-05-17 Thread Craig Vincent
was that the loop would be indefinate. Without the third option $i is never incremented (unless you manually increment it from within the loop). So with your examples $i would always be 1 and would therefore always be = $num_pages unless $num_pages was zero or negative. Sincerely, Craig Vincent -- PHP

<    1   2   3   4   >