[PHP] Freeze a MySQL field?

2002-10-01 Thread tony
Hi, is it possible to make a certain field in a table or row, so that the content is uneditable after insertion? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Math problem (222)

2002-10-02 Thread tony
For a coursework assignment I have to investigate this thing where you do the following for example: 264- Choose 3 digits that are not the same 12 - Find the sum of them. 264 246 624 642 426 462- List all the possible combinations of t

[PHP] mysql_fetch_row() problem

2002-10-06 Thread tony
I have this small bit of code to fetch the latest songs submitted by a user on theire profile for my tab website, here is the code: 10 Latest Songs Submited by $latsongs[1]$anames[0]($latsongs[3])"); } ?> The problem is with the line i labelled !!! ERROR LINE !!!, to fetch the artist name. The

[PHP] Upload Problem

2002-10-13 Thread tony
I posted "User Upload" and with no advice I attempted to use the sources i could find and came up with the following: while (file_exists("$i.tab")) { $i ++; } $destfile = $i; $destfile .= "tab"; stripslashes($userfile); copy($userfile, "/uploads/" . $destfile); chdir("/uploads"); $lines = file($d

[PHP] User Upload

2002-10-13 Thread tony
How would I go about allowing a user to upload a file which I then read and store its contents in a mysql database and then delete the file, or any more efficient method. Any help at all would be great. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] HTML filtering

2002-10-25 Thread tony
I have a problem, I need to filter HTML from data but want to preserve the tags in it, is there any function that allows this? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] file delimited

2003-11-24 Thread tony
Hi, I'm new to php I just come from perl, and I wanted to know like perl if we can open a file and read delimited line just like the cvs function, but I don't want comma separated, i want the vertical bar '|'. also if we read that file can the 'column' go in an array like perl i.e if we have a rec

[PHP] file delimited

2003-11-24 Thread tony
Hi, I'm new to php I just come from perl, and I wanted to know like perl if we can open a file and read delimited line just like the cvs function, but I don't want comma separated, i want the vertical bar '|'. also if we read that file can the 'column' go in an array like perl i.e if we have a rec

[PHP] speed conection ???

2003-11-29 Thread tony
Hi , I need to know the conecction speed of a person who is visiting my site. How can I know his speed? Thaks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] upload script

2003-12-10 Thread tony
hi, I was wondering if anyonehad a script to upload files. Thank You -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] newbie mysql and php

2003-12-27 Thread tony
hello I'm new with php just learning and i have just a problem with the following code $dbconnect = mysql_connect("localhost", "prog_tony","PASSWORD"); mysql_select_db("prog_dealer", $dbconnect); $stop = 0; $counter = 1; while(!$stop){ $query = "SELECT name FROM category WHERE id = $count

Re: [PHP] newbie mysql and php

2003-12-28 Thread tony
$dbdo = mysql_query($query,$dbconnect); > if(false === $dbdo) echo mysql_errno(),': ',mysql_error(); > else echo 'The query worked, $dbdo value is:',$dbdo; > while($row= mysql_fetch_array($dbdo)){ > ... > > > Chris >

[PHP] Re: newbie mysql and php

2003-12-28 Thread tony
Hi, I fixed it, I have not realize that my database was not connected to a user. so when i logged as prog_tony dealer was not a member of prog_tony so it could not be found. thanks for the help "Tony" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > hello &

[PHP] mysql selecting question

2004-01-14 Thread tony
hi I have a question I have to select a group of person i.e $query = "SELECT * FROM table WHERE id = <10"; my question is that can we order order in random mode?? or do we have to program it in php any help is appreciated -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] regexp with mysql

2004-01-15 Thread tony
i hope someone can help it should be easy but i still don't get it. i have a field which has numbers seperated via a comma for example 1,2,3,12,14,23,51 now if i was to do a search for a the rows that has '2' in it i do SELECT * FROM table WHERE ids REGEXP "2" will it show fields that has 12 22

Re: [PHP] Favorite Linux Distribution

2005-02-07 Thread Tony
ble. I use Ubuntu (i386) Athlon desktop and Ubuntu (PPC) my Apple iBook. I have Apache, MySQL, PostgreSQL, PHP, Python, Perl, ... installed and all running well for my development. http://www.ubuntulinux.org/ You can even get a free CD from them... http://www.ubuntulinux.org/support/documentation/f

[PHP] using $$foo_name vs. $foo_name for file upload

2004-07-06 Thread Tony
om my testing it appears that the problem has to do with the evaluation of "./$$foo_name". I have tried using a substitute variable such as $substitute = $$foo; if (copy ($substitute, "./$substitute_name")) {//blah... } but that does not work either. Can someone explain how I m

[PHP] sending mail with attachment problems

2004-01-27 Thread tony
Hi, i'm trying to send emails with attachment but i get an error at $file = fread($fp, $att_size); and i don't understand why, any help is appreciated. code is below $subject = $_REQUEST['subject']; $cc = $_REQUEST['cc']; $from= $_REQUEST['from']; $message = $_REQUEST['text']; $att

[PHP] working with files

2004-01-28 Thread tony
hi, i have problem with writing a reading to file i want to write emails in files. like this [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] etc.. this is how I write to the file $handle = fopen($filename, "a"); fwrite($handle,"$email\n",128); fclose($handle); ok it writes everything

[PHP] Re: working with files

2004-01-28 Thread tony
file(); ? > > -- > // DvDmanDT > MSN: dvdmandt¤hotmail.com > Mail: dvdmandt¤telia.com > "Tony" <[EMAIL PROTECTED]> skrev i meddelandet > news:[EMAIL PROTECTED] > > hi, > > > > i have problem with writing a reading to file > > i want t

[PHP] problem with upload don't understand

2004-02-02 Thread tony
hi, i have the following script to dowload upload file into a webserver I know i don't need copy but i used it to know if this way works or not $att = $_FILES['att']['name']; $temp = $_FILES['att']['tmp_name']; if($att){ $uploadfile = $uploaddir.$att; print "yo GOT $att and temp is $temp,

Re: [PHP] [Q] Problems invoking a PHP script - Have no hair left to pull - Please help [:-)

2004-02-11 Thread Tony
yone can tell me why this is happening. It seems to me that I'm following the right conventions. I'm running this under Apache on a Windows XP system. I sent another news item today but became more enlightened by the response to this similar problem. Apologies for the superfluous item.

[PHP] Problem with Parameter Passing in PHP. Can anyone help

2004-02-11 Thread Tony
I can't see why $myname doesn't contain a value in the php file. Thank you Tony begin 666 prog.html M/"%$3T-465!%([EMAIL PROTECTED]"3$E#("(M+R]7,T,O+T141"!(5$U,(#0N,#$@ M5')A;G-I=&EO;F%L+R]%3B(^#0H-"CQH=&UL/@T*/&AE860^#0H)/'1I=&QE M/E5N=&

[PHP] sql query question

2004-02-12 Thread tony
hi if i have new car and i want to search each word in description can i do SELECT * FROM table WHERE descript = "new" OR descript ="car"?? any help is appreciated -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mysql query with php

2004-03-09 Thread tony
Hi, I just can't find the forum for any mysql. anyways maybe someone run into this kind of problem, i'm saving in a db records of company and in a column i have numbers i.e 1,2,12,31,32 so if want to search a company that has number 2 i do category REGEXP '2' but the problem it will return numb

Re: [PHP] getaddrinfo failed: No address associated with hostname

2002-11-28 Thread Tony Earnshaw
tor, 2002-11-28 kl. 05:22 skrev Godzilla: > Warning: php_network_getaddresses: getaddrinfo failed: No address associated > with hostname Your DNS doesn't work any more? Best, Tony -- Tony Earnshaw When all's said and done ... there's nothing left to say or do. e

Re: [PHP] OpenSSL Encryption to a browser.

2002-11-30 Thread Tony Earnshaw
, learn and inwardly digest it all. Given the existence of Carnivore and wireless networks, it's a 'must' for tomorrow's computing. Best, Tony -- Tony Earnshaw When all's said and done ... there's nothing left to say or do. e-post: [EMAIL PROTECTED] www

RE: [PHP] PHP Trouble-Ticket-Systems?

2002-12-01 Thread Tony Crockford
> So the question is, does anyone know any good > troubleticket/helpdesk-systems written in PHP? > > > Thanks, > > Thomas This would seem to fit the bill: (I've used it and can recommend it) http://helpdesk.oneorzero.com/ HTH Tony -- PHP General Mailing Lis

[PHP] PHP and SOAP

2002-12-10 Thread Tony Burgess
Hi everyone, I have been looking for a decent tutorial on how to use PHP and SOAP (nusoap) but as yet I haven't been able to find anything. I have a copy of a client script and a server script but I can't get them to work properly. Any help would be appreciated. Thanks -- To

Re: [PHP] overview of current app frameworks

2002-12-11 Thread Tony Earnshaw
Whoever criticises Horde's data model ought well to consider a job mending roads (delivering Pizzas is o.k. as an alternative). Best, Tony -- Tony Earnshaw When all's said and done ... there's nothing left to say or do. e-post: [EMAIL PROTECTED] www:http://www.b

Re: [PHP] Loading modules not compiled in php

2002-12-21 Thread Tony Earnshaw
de will have to be written for it. The good news is, that you can cheese the code off Horde's Imp. Best, Tony -- When all's said and done, there's nothing left to say or do ... http://www.billy.demon.nl - This mail sent through IMP

[PHP] odd results inquiry

2002-12-26 Thread Tony Tzankoff
x27;name' order by r_date desc, r_time desc limit 11,20; and so on. What the heck is going on here? any ideas? im confoosed! -- Tony Tzankoff http://www.tzankoff.com = -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Opening DOS with PHP commands

2003-01-06 Thread Tony Tzankoff
file. I am trying to intergrate the MS-DOS window timing with PHP to avoid conflicts. ANy suggestions? Is this even doable? -- Tony Tzankoff http://www.tzankoff.com = -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] File handling

2003-02-13 Thread Tony Crockford
> How do i delete all file in a directory??? > You could use a function like this: (html code at end) function delFiles($filter, $sDir) { $cDirectory = includeTrailingSlash($sDir); $handle = opendir($cDirectory); while ($file = readdir($handle)) { if ($file == '.' || $

[PHP] Help with UPDATE command...

2003-07-19 Thread Tony Tzankoff
workaround to this that anybody knows of? Thanks in advance for your help. :o) -- Tony Tzankoff http://www.tzankoff.com = -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Newbie lost in array

2003-07-22 Thread Tony Crockford
looking for in the manual? TIA Tony -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Newbie lost in array

2003-07-22 Thread Tony Crockford
> hi tony, > how is your table structured? is is a csv-file, a database, a > html-table, > ...? > ciao SVEN Ooops! MySQL sorry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] changing the name of a variable by another variable.

2003-07-22 Thread Tony Crockford
ones.. I tried echo $variable$increment ; but $variable doesn't exist alone so all I get is $increment. I'm not sure what I should be looking for in the manual - google's not much help either. anyone give me a clue? TIA Tony -- PHP General Mailing List (http://www.php.net/)

[PHP] Is this possible?

2003-07-23 Thread Tony Crockford
I going at this the wrong way? Any help, clues or abuse accepted. Thanks Tony -- NEO organizes my Outlook - check it out: http://www.caelo.com/a/rl.php3?i=3NTVV -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Is this possible?

2003-07-23 Thread Tony Crockford
> Umm, you mean like: > > select i.id,d.description from items i, descriptions d where > d.itemid = > i.id; > > ? Of course I do! How stupid am I? No, don't answer that - it's been a long week working on the wrong stuff! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] PHP/MySQL best practice tutorial

2003-07-29 Thread Tony Crockford
e to a tutorial that would help me switch from nested select statements to something more elegant? Thanks Tony -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Cache Question

2003-08-14 Thread Tony Tzankoff
I have a webpage written in the latest version of PHP and need a little bit of help with a rather pesky cache issue. Part of the source code is as follows: page.php "; echo ""; . . . echo ""; ?> The page does not cache (which is good), but the MP3 file does (which is b

[PHP] Status Chaing Toggle / Code

2003-08-23 Thread Tony Pagliocco
ed"; if ($printed == 'n' || $printed == 'N' || empty($printed)) { $newvalue = "Y"; } else { $newvalue = "N"; } db_query("UPDATE outgoing_student SET printed='$newvalue' WHERE id='$student_id'"); echo "Go to previous page and refresh"; ?> Tony Pagliocco Systems Administrator Arizona State University International Programs Office Phone: (480) 727-6279 Email: [EMAIL PROTECTED]

[PHP] posting values from email

2003-03-17 Thread Tony Burgess
methods for this and the GET method works to an extent but doesn't allow me to have any hidden values. If anyone has an alternative method then please let me know. Thanks Tony Burgess -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: posting values from email

2003-03-17 Thread Tony Burgess
beleive that this is restrictive to approx 100 characters which doesn't really give me much room to play with. I have switched the methods to use POST but this doesn't see to work at all, it'll open a new page but none of my values are displayed. Thanks for any help. "Tony Burges

[PHP] Re: Need help with coding problem

2003-03-19 Thread Tony Burgess
You seem to be missing your last bracket for the while loop that you started to state the end of the block. "Ben C." <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have a subscription service and am trying to not allow the buyer to > proceed purchasing another subscription if one

[PHP] Re: [SOAP] web services

2003-03-20 Thread Tony Bibbs
) when a XML-RPC implementation (the hammer) is better suited. That said, I use both raw XML, XML-RPC and SOAP for various tasks. It doesn't have to be all or the other (not that you implied that)... --Tony On Fri, 21 Mar 2003, Merlin wrote: > Hi everybody, > > I am curre

[PHP] Session Data

2003-03-21 Thread Tony Bibbs
led explicitly. The ideas here is to show a page with context information for the user. Any ideas why this isn't working? -- Tony Bibbs "I guess you have to remember that those who don't [EMAIL PROTECTED] hunt or fish often see those of us who do as

[PHP] File manipulation tutorials / helpful resources

2003-03-24 Thread Tony Crockford
ryone. Tony -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Email advice

2003-04-02 Thread Tony Burgess
thoughts are appreciated. Thanks -- Tony Burgess -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Using register_globals

2003-06-05 Thread Tony Crockford
suggestions would be much appreciated. I looked at the manual and googled a lot, but can't find a plain english guide to doing it right! Thanks Tony -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] condensing a list from MySQL

2003-06-09 Thread Tony Crockford
do is open each keyword field, extract the words, add them to an array, remove duplicates and sort alphabetically. sounds easy but I'm still finding my way - anyone got a sample script or some helpful hints they'd care to share? thanks Tony -- PHP General Mailing List (http://w

[PHP] Why Fatal Error: Allowed memory size ...

2003-06-19 Thread Tony Arcucci
Why this error ( Linux Redhat 8.0, PHP 4.2.2): Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 1048576 bytes) in /var/www/html/xpai/xmail.class on line 71 Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 131 bytes) in Unknown on l

[PHP] Why Fatal Error ?

2003-06-19 Thread Tony Arcucci
Why this error ( Linux Redhat 8.0, PHP 4.2.2): Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 1048576 bytes) in /var/www/html/xpai/xmail.class on line 71 Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 131 bytes) in Unknown on l

Re: [PHP] Why Fatal Error ?

2003-06-19 Thread Tony Arcucci
This is the result of free [EMAIL PROTECTED] webmin]# free total used free sharedbuffers cached Mem:513936 444256 69680 0 157168 135476 -/+ buffers/cache: 151612 362324 Swap: 779104 0 779104 I think

Re: [PHP] Why Fatal Error ?[Scanned]

2003-06-19 Thread Tony Arcucci
english and thank you in advance. "Michael Egan" <[EMAIL PROTECTED]> ha scritto nel messaggio news:[EMAIL PROTECTED] Tony, It might be that somewhere in your code there is a loop or while structure that has an error. This is running endlessly until you run out of memory which is

[PHP] Date() Problem

2002-07-27 Thread Tony Harrison
Hi, im making a tab/lyric portal, and for viewing tabs i want to display the time the lyric/tab was submitted. So I retrive it from a MySQL database (as a timestamp) and format it using the date function. The problem is, that the date: 19-01-2038 04:14:07 is allways returned, even though in the `d

[PHP] Re: Date() Problem

2002-07-27 Thread Tony Harrison
`date` > > field the timestamp says (as an actual example) 20020723200919. > > > > Here is a shortened version of the script: > > > > > $submitdate"); ?> > > > > Hi Tony, > > the date() function in PHP does _only_ take UNIX timestamps as a

[PHP] Re: Date() Problem

2002-07-27 Thread Tony Harrison
ou could store the dates as UNIX timestamps. > > That is what I do. It is then eaiser to do certian things(ie show stuff > released in the last month) > > > -- > JJ Harrison > [EMAIL PROTECTED] > www.tececo.com > > "Tony Harrison" <[EMAIL PROTECTED]>

[PHP] How would I do this?

2002-07-29 Thread Tony Harrison
Hi. I have a problem with my tab/lyric site, I need to create an artist page, where users can view all lyrics/tabs by a certain artist. Now because im likely to get guitar/drum/bass tabs / lyrics for the same song, I want to have a table with links as follows (e.g): Blink 182 - Whats my

[PHP] Re: Auto Increment Problems....

2002-07-30 Thread Tony Harrison
Instead of incrementing to find the next row to count them, you dont have to set the ID if it is auto increment. MySQL will do it for you (and i think it might fill the holes too). Also, to get the num. of rows just do this - $get_rows = mysql_query("SELECT * FROM `table`"); $num_rows = mysql_num

[PHP] Re: Disabling Browser "BACK" button

2002-07-31 Thread Tony Harrison
If you write your own browser, who would use it? And without a back button - nobody "Petre" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > HI > Is there a way I can disable the client's browser back button, forcing > them to use the navigation I built into the

[PHP] ARRRRGGGGHHHH! Weird Problems!

2002-07-31 Thread Tony Harrison
OK, im having some minor problems with my site. In artist.php (http://members.lycos.co.uk/ajohnh/artist.php - Source at: http://members.lycos.co.uk/ajohnh/source/artist.txt) If for example you view lyrics by Weird Al Yankovic (http://members.lycos.co.uk/ajohnh/artist.php?id=1) You'll see that the

[PHP] Re: ARRRRGGGGHHHH! Weird Problems!

2002-08-01 Thread Tony Harrison
Thanx, I havent tried the loop yet, but the color will work im sure . "Aaron Ott" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > tony, > > regarding problem one, it looks like there is a problem in the code near: &g

[PHP] Re: ARRRRGGGGHHHH! Weird Problems!

2002-08-01 Thread Tony Harrison
OK, the color works, but now I have 2 empty lines "Tony Harrison" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Thanx, I havent tried the loop yet, but the color will work im sure . > > "Aaron Ott

[PHP] Re: attachements in mail()

2002-08-01 Thread Tony Harrison
Shouldnt there be some sort of MIME header for it? "Philip Hallstrom" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > You can't (in the sense that there's an $attachment argument), but I've > seen several classes that will let you do it. Check zend.com and > p

[PHP] User Authentication Problem.

2002-08-02 Thread Tony Harrison
Hi, I need to authenticate users on an included page on my website, but the problem is, I cant get it to work. view it included at http://members.lycos.co.uk/ajohnh/ (Source at http://members.lycos.co.uk/ajohnh/source/index.txt) the actual file: http://members.lycos.co.uk/ajohnh/templates/twoShea/

[PHP] User Authentication Problem

2002-08-03 Thread Tony Harrison
Hi, I need to authenticate users on an included page on my website, but the problem is, I cant get it to work. view it included at http://members.lycos.co.uk/ajohnh/ (Source at http://members.lycos.co.uk/ajohnh/source/index.txt) the actual file: http://members.lycos.co.uk/ajohnh/templates/twoShea/

[PHP] Find rows by 1st letter in MySQL

2002-08-18 Thread Tony Harrison
How would I go about selecting rows from a MySQL table where the first letter of a certain field is $letter ? -- - [EMAIL PROTECTED] http://www.cool-palace.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.n

Re: [PHP] Count number of rows in table.

2002-08-25 Thread Tony Harrison
And do I need to use any other functions like mysql_fetch_row() ? "Martín marqués" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > On Sáb 24 Ago 2002 11:19, Tony Harrison wrote: > > How would I count the number of rows in a mysql table with a WHERE

[PHP] MySQL PASSWORD() Question

2002-08-25 Thread Tony Harrison
If I insert a row's field's value using the PASSWORD() function, will I need to use it or another function to find that row using the same field? - [EMAIL PROTECTED] http://www.cool-palace.com -- PHP General Mailing List (http://www.php.net/) To uns

[PHP] Re: if/else & mail() problem..

2002-08-25 Thread Tony Harrison
You need to give us the HTML for the form so we can comprehend the context of it all "Eriol" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I've got the following bit of code for an upload/feedback form.. Upload isn't a > required field, but name, email and me

[PHP] setcookie() failure

2002-08-26 Thread Tony Harrison
Can anyone tell me why the following setcookie()s fail? - Tabzilla.com -- - [EMAIL PROTECTED] http://www.cool-palace.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: MySQL PASSWORD() Question

2002-08-27 Thread Tony Harrison
cheers "Richard Lynch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > >If I insert a row's field's value using the PASSWORD() function, will I need > >to use it or another function to find that row using the same field? > > You'll need to do this when somebody tries to log in la

[PHP] eregi_replace() problems

2002-08-29 Thread Tony Harrison
Can anyone tell me why my emoticons arent appearing? Please? Note: $message is a variable set by a web form. The field `pattern` is the string to search for, like ":-)", and `url` is the relative url to the emoticon. I just get the plain emoticon. Note: this bit is above the INSERT statement in t

[PHP] Re: PASSWORD()

2002-08-29 Thread Tony Harrison
I asked a similar question the other day, I was told to use the password function on the field name, not the value, i havent tested this and its a weird way to do things, and why cant both work? (if any) "Mike Tsapenko" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED

[PHP] eregi_replace() problems

2002-08-30 Thread Tony Harrison
Can anyone tell me why my emoticons arent appearing? Please? Note: $message is a variable set by a form. The field `pattern` is the string to search for, like ":-)", and `url` is the relative url to the emoticon. I just get the plain text, no replacement emoticon. Note: this bit is above the INSE

Re: [PHP] UPDATE Query

2002-09-01 Thread Tony Harrison
What about multiple tables? Can that be done? "Mark Charette" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > No, only one db at a time may be updated. The "where" clauses can contain > multiple db. > > -Original Message- > From: Sascha Braun [mailto:[

[PHP] FORUM CODE

2002-09-03 Thread Tony Harrison
Hi, im wondering how in popular forum software, those 'BB codes' are done in PHP, like, [B] and stuff. I just cant figure it out. - [EMAIL PROTECTED] http://www.cool-palace.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

Re: [PHP] A mailing list

2002-09-13 Thread Tony Earnshaw
t *possibly* equal it with a PHP-based approach. I've implemented Mailman with Exim smtp server for different firms and customers; there's a complete Exim how to and so on and so on. Don't know what smtp software you run, or whether you're using procmail or what, doesn'

RE: [PHP] jpeg thumbnail errors

2002-09-17 Thread Tony Earnshaw
s, now I need to), that I'm reading, practicing reading etc. I don't even have any questions, yet, I'm so green. But I *do* know that I have compiled in jpg and png support to PHP 4.2.3 (phpinfo). On Red Hat 7.2 +++, './configure --with-gd' - and other things, of course.

Re: [PHP] pardon the previous mis-topic

2002-09-19 Thread Tony Earnshaw
he only one. Go straight to heaven, Monique, and experience the joy of eternal self-justification. All the others must for ever suffer the pangs that indolence confers. Best, Tonni -- Tony Earnshaw Tha can allway tell a Yorkshireman, but tha canna tell 'im much. e-post:

Re: [PHP] PHP Installation

2002-09-19 Thread Tony Earnshaw
./configure', did you by any chance see a number of files called "README.something" and one called "INSTALL"? Did you read them especially "INSTALL"? Don't you think it might be a good idea to do so? That's what I always do. Best, Tony -- Tony Earnsh

[PHP] Template based generated website project.

2002-09-26 Thread Tony Burgess
ntent etc. Once the pages have been generated (view source) all you have is the HTML, this is what I would like to achieve, but I'm unsure how to pass the pages to give me only HTML from the databases. Any help or advice would be greatly appreciated. -- Tony Burgess -- PHP General Ma

[PHP] parsing PHP to create HTML only page

2002-09-27 Thread Tony Burgess
ntent etc. Once the pages have been generated (view source) all you have is the HTML, this is what I would like to achieve, but I'm unsure how to pass the pages to give me only HTML from the databases. Any help or advice would be greatly appreciated. -- Tony Burgess -- PHP General Mailing

[PHP] Multiple Domains in cookie?

2002-09-28 Thread Tony Harrison
Is it possible to specify more than 1 domain in a cookie? - [EMAIL PROTECTED] http://www.cool-palace.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] what do you think?

2002-09-28 Thread Tony Earnshaw
7;s a nice day" - right; "it's output" - wrong. 2: Please keep your line length to below 76 characters. Best, Tony -- Tony Earnshaw "Growing old" is compulsory, "growing up" is optional. e-post: [EMAIL PROTECTED] www:http://www.bill

[PHP] document_root

2002-10-01 Thread Tony Crockford
nswer is probably so simple I'm not looking in the right place. help and abuse gratefully received. Thanks Tony -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] document_root

2002-10-01 Thread Tony Crockford
> Check out: > http://www.php.net/manual/en/function.getcwd.php > > HTH > -Brad Certainly does, thanks. I suppose if I'd thought to look at the manual contents rather than trying to construct a *search* I might have found that Oh well, so much to learn so little

RE: [PHP] formatting / beautifying PHP code

2002-10-07 Thread Tony Crockford
> Is there a utility that formats / beautifies PHP code like > indent does for C > code? something like this? http://tools.phpedit.net/phpCodeBeautifier/ HTH Tony -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] how to configure with ldap?

2002-10-13 Thread Tony Earnshaw
PHP :-) ftp://kalamazoolinux.org/pub/pdf/ldapv3.pdf http://www.redbooks.ibm.com/pubs/pdfs/redbooks/sg244986.pdf http://www.redbooks.ibm.com/pubs/pdfs/redbooks/sg245110.pdf Best, Tony -- Tony Earnshaw "There are many people who can't face the truth ... If you rob a normal person of l

Re: [PHP] php 4.3.0pre and openssl 0.96g compile error

2002-10-13 Thread Tony Earnshaw
> Any suggestions? See if you have /usr/include/openssl . Which you most probably don't have. If not, do: 'ln -s /usr/local/ssl/include/openssl /usr/include/openssl' . Best, Tony -- Tony Earnshaw "There are many people who can't face the truth ... If you rob

[PHP] Script optimisation

2002-10-16 Thread Tony Crockford
bing beyond the maximum set in PHP.ini (I've changed the setting, but...) I'm looking to shave milliseconds of each execution, any ideas, pointers or tutorials you could point me to. Thanks Tony -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Script optimisation

2002-10-16 Thread Tony Crockford
ou're saying this would be a slow part of the script and as I'm generating nearly 4000 pages atm it would be good to speed this bit up. how would you do it? TIA Tony -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Error?

2002-10-27 Thread Tony Crockford
> > if($new) > { > $details = get_product_details($new); > if($details["catid"]) > $target = "show_cat.php?catid=".$details["catid"]; > //line 55 is the bracket below. > } > $path = $PHP_SELF; > $path = str_replace("show_cart.php", "", $path); > > > Error: > > Warning: Ca

Re: [PHP] remove/uninstall php3 on linux

2002-10-29 Thread Tony Earnshaw
s when I used to compile and install my own Open source software on them. Or I just install over the top of what I had. But that's the easy way. Perhaps you use rpms or apt-gets or suchlike, who can tell?. Best, Tony -- Tony Earnshaw Could have been Henrik Ibsen's, Ole Bull's

[PHP] Logic headache, please help.

2002-11-11 Thread Tony Crockford
"string" which should contain all the levels from 1 to $maxlevels except the current level. which would seem to require some sort of conditional "if $thislevel string is" type of approach, but I can't get my head round it. Anyone put me out of my misery? Thanks Tony

RE: [PHP] Logic headache, please help.

2002-11-11 Thread Tony Crockford
> -Original Message- > From: Marco Tabini [mailto:marcot@;tabini.ca] > Sent: 11 November 2002 14:46 > To: Tony Crockford > Cc: Php-General@Lists. Php. Net > Subject: Re: [PHP] Logic headache, please help. > > > How about building an array of all the levels

[PHP] LDAP specific?

2002-11-14 Thread Tony Earnshaw
recoginized tools, such as LDAPExplorer, John Hallam's magnificent yet not widely known contrib. and the Wrox books, but none of them even attempts to address what I want. Best, Tony P.s., thanks for what is probably the most *patient minded* and catholic mailing list on the Internet, a

Re: [PHP] LDAP specific?

2002-11-14 Thread Tony Earnshaw
utput buffering. Thanks for the answer, Chris. I realise this, but that just does not work - been there, seen it, done it. Wherever (even as 1st line) *any* PHP4 header stuff is put in the script, adding html code later results in the same "headers already sent" error. That's why

  1   2   3   4   5   >