RE: [PHP] easy quickie..

2002-01-02 Thread Seb Frost
I've never understood why people do this? My browser has a back button. I know how to use it. It's only a centimetre of mouse travel away from the page I'm looking at, why do I need a duplicate? - seb -Original Message- From: Kelly Meeks [mailto:[EMAIL PROTECTED]] Happy New Year,

[PHP] PMA worry

2001-12-17 Thread Seb Frost
Just got this. Never had it before. Am I being hacked? Warning: Too many connections in /htdocs/PMA/lib.inc.php3 on line 305 Warning: MySQL Connection Failed: Too many connections in /htdocs/PMA/lib.inc.php3 on line 305 Error MySQL said: Too many connections --- Outgoing mail is certified

RE: [PHP] Form Question

2001-10-21 Thread Seb Frost
well all of the entries are passed via post or get to your form handler (obviously). So just pass them back when you re-call the form. then put in input type=text name=firstname value=?=$firstname? in the form or something like that anyway. - seb -Original Message- From: Chip

[PHP] Dividing too integers...

2001-10-19 Thread Seb Frost
Sorry for the stupid question... I want to do $this=$foo/$bar; (All are integers.) where this is always rounded up. I tried the obvious $this = ceil($foo/$bar) but I just always get 0. cheers, - seb --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system

RE: [PHP] Dividing too integers...

2001-10-19 Thread Seb Frost
Cheers Rich! I had $numrows instead of $num_rows - Doh! I said too instead of two - double Doh! - seb -Original Message- From: Richard Baskett [mailto:[EMAIL PROTECTED]] Sent: 19 October 2001 11:30 To: Seb Frost; PHP General Subject: Re: [PHP] Dividing too integers... I don't see

RE: [PHP] Getting screen resolution and color depth

2001-09-16 Thread Seb Frost
But you could then re-submit the page with this data somehow, couldn't you? - seb -Original Message- From: Matthew Loff [mailto:[EMAIL PROTECTED]] Sent: 16 September 2001 21:04 To: 'Salty Marine'; [EMAIL PROTECTED] Subject: RE: [PHP] Getting screen resolution and color depth Can't be

[PHP] URL security...?

2001-09-13 Thread Seb Frost
to a different website? Do you see what I'm saying? cheers, - seb frost -Original Message- From: GaM3R [mailto:[EMAIL PROTECTED]] Sent: 13 September 2001 09:39 To: [EMAIL PROTECTED] Subject: [PHP] help!!! Cannot load /usr/local/apache_adserv/libexec/libphp4.so into server: /usr/local

[PHP] Other lists

2001-09-11 Thread Seb Frost
I've found this list so helpful - can anyone recommend a similar thing for javascript/html/etc? cheers, - seb --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.277 / Virus Database: 146 - Release Date: 05/09/2001 -- PHP General

RE: [PHP] hi

2001-09-10 Thread Seb Frost
Fixed: ?php echo a href=\show_source('source.php')\view source/abr/br/; ? - seb -Original Message- From: Balaji Ankem [mailto:[EMAIL PROTECTED]] Sent: 10 September 2001 10:25 To: [EMAIL PROTECTED] Subject: [PHP] hi Hi, what z wrong in this code?? ?php echo a href=\?php

RE: [PHP] hi

2001-09-10 Thread Seb Frost
Well you can't just have a link to this function. Make a page like so: showsource.php ** ?php $file=source.php; show_source($file); ? yourfile.php ** ?php echo a href=\showsource.php\view source/a; ? - seb

RE: [PHP] Anagram Solution in PHP

2001-09-10 Thread Seb Frost
Sounds like you know exactly what you want to do :-) 1) Obtain a text file, csv or whatever of a dictionary (easy enough - www.google.com). 2) Find the ascii values for a-z or A-Z, your choice. 3) Read in a word at a time. 4) Convert to upper or lower case to reflect part (2) 5) Create a

[PHP] How do I find out what version of GD I'm running?

2001-09-07 Thread Seb Frost
with phpinfo it just says GD 1.6 or above. This is on a webhoster. How do I find out what version they're actually running? I tried asking but they're useless... - seb -Original Message- From: Sebastian Wenleder [mailto:[EMAIL PROTECTED]] Sent: 07 September 2001 16:36 To: Joseph

[PHP] Error handling and the usage of @

2001-09-07 Thread Seb Frost
Could someone give me an example of the sort of error handling you put in your php scripts? Cheers. Should I be preceding every command with @? Anything where this would be harmful? Just looking for some pointers really :-) - seb --- Outgoing mail is certified Virus Free. Checked by AVG

RE: [PHP] Re: Error handling and the usage of @

2001-09-07 Thread Seb Frost
] Subject: [PHP] Re: Error handling and the usage of @ Seb Frost [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Could someone give me an example of the sort of error handling you put in your php scripts? Cheers. Should I be preceding every command with @?

[PHP] Refreshing form with submittd data

2001-09-06 Thread Seb Frost
I have 3 radio buttons, and I want the one selected by the user to show as selected when the page reloads. The form uses POST and points to itself. here's what I have: if ($thumbs==faster) { echo input type=\radio\ checked value=\faster\ name=\thumbs\Faster loading; echo input

RE: [PHP] Refreshing form with submittd data

2001-09-06 Thread Seb Frost
Thank you thank you thank you. Sheer genius :-) -Original Message- From: David Otton [mailto:[EMAIL PROTECTED]] Sent: 06 September 2001 22:18 To: Seb Frost Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Refreshing form with submittd data On Thu, 6 Sep 2001 13:46:59 +0100, you wrote: I have

[PHP] HTML table creation software

2001-09-06 Thread Seb Frost
I expect I'll get flamed for being off topic but never mind. I'm fine with creating simple tables and stuff - even nested a couple of levels. But there's so many sites these days with super-complex table layouts. How are these created? Is it just some super-talented table guru who codes the

RE: [PHP] 304 Not Modified

2001-09-05 Thread Seb Frost
You don't think your missing might have soemthing to do with it? Or maybe it's not that simple at all. - seb -Original Message- From: Ouster [mailto:[EMAIL PROTECTED]] Sent: 05 September 2001 20:23 To: [EMAIL PROTECTED] Subject: [PHP] 304 Not Modified I'm making a sort of cache

RE: [PHP] negative infinity is unreachable

2001-09-05 Thread Seb Frost
if ($high_distance==INF) { unset($high_distance); } if ($low_distance==INF) { unset($high_distance); } Shouldn't this be: if ($high_distance==INF) { unset($high_distance); } if ($low_distance==INF) { unset($low_distance); } - seb --- Outgoing mail is

[PHP] GOOD web hosting

2001-09-04 Thread Seb Frost
I thought I had good web hosting, but I don't. They're often very slow and frequently (I'd say at least an hour every day) my site is inaccessable. Today I've barely been able to get on it at all. So I'm moving. I'm in the UK. Is it stupid for me to go with a US hoster? And either way who do

[PHP] Am I right or wrong?

2001-09-03 Thread Seb Frost
one the PHP server sends an HTTP request for the 80kb image, and this is being counted against my 10,000MB. Should it? Am I in the right in thinking that it shouldn't? regards, - seb frost --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com

[PHP] Thankyou, whoever

2001-09-03 Thread Seb Frost
Someone on this list yesterday exposed a large hole on one of my php scripts. Dunno who you are but thankyou. I could have lost sales in that loophole :-) I know it was off of this list because that's the only place I made that link public. Some lucky guy on BT openworld - wish I could get

RE: [PHP] Am I right or wrong?

2001-09-03 Thread Seb Frost
2001 01:59 To: Seb Frost Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Am I right or wrong? On Tue, 4 Sep 2001, Seb Frost wrote: I have a folder of ~80kb images that are dynamically resized using PHP into ~1.4kb thumbnails. Now for each one the PHP server sends an HTTP request for the 80kb image

[PHP] Is modem compression consistent?

2001-09-02 Thread Seb Frost
Off-topic I know but hey, it's quiet on the list, and you guys are SO helpful :-) I have an HTML file that is 82kb in size. BUT on my 56k dialup it downloads at 20k/s ~ 4 seconds. This is obviously due to compression. Winzip compresses it down to 6kb. Anyway, my question: Do all modems

RE: [PHP] PHP Security

2001-08-31 Thread Seb Frost
Great question - I'd love to know too. I can give you one hint. Make sure that you validate any variables passed in the url. I had a script that should take an integer, and realised if someone put in a fraction or text then the script output errors to the html page showing file and directory

RE: Re: [PHP] Sorry, i need HTML help

2001-08-29 Thread Seb Frost
And let's face it. Compare IE5.5/6 with NS6. MS owns the market for a damn good reason. I hear Netscape's pulling out anyway to concentrate on iplanets instead or something. - seb -Original Message- From: Erik H. Mathy [mailto:[EMAIL PROTECTED]] Sent: 29 August 2001 15:27 To: [EMAIL

[PHP] foo? bar? wtf?

2001-08-29 Thread Seb Frost
Why is it that every example uses foo and bar. In my head I put these together to get FUBAR, the meaning of which I won't spell out for Kyle's benefit. Is this what foo and bar refer to? And WHY are they used so extensively? - seb --- Outgoing mail is certified Virus Free. Checked by AVG

RE: [PHP] What does PHP stand for?

2001-08-28 Thread Seb Frost
Stands for PHP: Hypertext Pre-processor. I guess they didn't like the sound of just HP. - seb -Original Message- From: Adi Wibowo [mailto:[EMAIL PROTECTED]] Sent: 28 August 2001 11:54 To: Niklas Lampén Cc: Php-General Subject: Re: [PHP] What does PHP stand for? On Tue, 28 Aug

RE: [PHP] How can I Get Text as it Set

2001-08-28 Thread Seb Frost
can't you just explode the string with \n as the separator? Look up explode function at php.net. - seb -Original Message- From: Alawi Albaity [mailto:[EMAIL PROTECTED]] Sent: 28 August 2001 14:06 To: [EMAIL PROTECTED] Subject: [PHP] How can I Get Text as it Set when a person write in

RE: [PHP] concatenate?

2001-08-28 Thread Seb Frost
$string0 = hello; $string1 = goodbye; $string2 = $string0 . and . $string1; result:$string2 = hello and goodbye - seb -Original Message- From: Jeremy Morano [mailto:[EMAIL PROTECTED]] Sent: 28 August 2001 16:28 To: [EMAIL PROTECTED] Subject: [PHP] concatenate? Hello, I

[PHP] HEAD instead of GET??

2001-08-28 Thread Seb Frost
I'm just having my first ever look at my website raw log file and found this: Almost every entry is a GET somefile HTTP/1.0, but one IP address sent about 200 HEAD requests instead of GET. No one else has done this, just this one IP address. For example: HEAD /contact.php4 HTTP/1.0 instead

RE: [PHP] is_numeric for php3

2001-08-28 Thread Seb Frost
if (($var!=0) ($var*1!=0) is_int($var*1)) { echo is int; $var=$var*1; } else { echo is not int; $var=1; } Works for me because I need an integer greater than 0. Try it out and let me know any problems with it. - seb -Original Message- From: Philip

RE: [PHP] What is it with _vti?

2001-08-27 Thread Seb Frost
program won't be able to function without all its redundancies. Horrible thing! /mt At 08:48 AM 8/27/01 -0500, Mark Roedel wrote: -Original Message- From: Seb Frost [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 26, 2001 6:49 PM To: [EMAIL PROTECTED] Subject: [PHP] What

[PHP] Reading php source code?

2001-08-27 Thread Seb Frost
How hard is it for someone to somehow read the source code out of my php files on my isp hosted website. They use linux apache php 4.0.6. I ask because in my logfile it seems someone accessed a uniquely named not-guessable folder in my web root. It is mentioned in my source code. I use

Re: [PHP] How to create thumbnails?

2001-08-26 Thread Seb Frost
?php Header(Content-type: image/jpeg); $src_img = imagecreatefromjpeg($fileURL); $aspect=imagesy($src_img)/imagesx($src_img); $new_w = $thumbSize; $new_h = $new_w * $aspect; $dst_img = imagecreate($new_w,$new_h);

RE: [PHP] Re: What is it with _vti?

2001-08-26 Thread Seb Frost
Same with _private and _derive? I admit it, I use frontpage when I can't remember how to code html in textpad :-) - seb -Original Message- From: Hugh Bothwell [mailto:[EMAIL PROTECTED]] Sent: 27 August 2001 01:07 To: [EMAIL PROTECTED] Subject: [PHP] Re: What is it with _vti? Seb

[PHP] Convert to int...?

2001-08-22 Thread Seb Frost
I didn't think php was this fussy, but the following code seems to not work because the numbers are floats. round() doesn't seem to help either: $siz=(72/160)*GetImageWidth($fileID); $offx=(8/160)*GetImageWidth($fileID); $offy=(1/2)*GetImageHeight($fileID); ImageTTFText ($im, $siz, 0, $offx,

[PHP] Any point in learning ASP/JSP etc?

2001-08-22 Thread Seb Frost
Or is PHP the be-all and end all? I know its strong points, but what are the WEAK points of PHP? - seb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail:

RE: [PHP] Any point in learning ASP/JSP etc?

2001-08-22 Thread Seb Frost
Ah ha, but am I better off becoming a PHP guru or a jackofalltrades-notverygoodatanyofthem kind of person ;-) Well I've never used scripting of any sort before PHP, just c++ really. I'll stick to php i guess (for now). - seb -Original Message- From: John Meyer [mailto:[EMAIL

[PHP] Email this page to a friend

2001-08-22 Thread Seb Frost
How can I implement this in php? -seb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] GET method and forms....

2001-08-22 Thread Seb Frost
how do I prevent getting submit=shop%21 in the url window? form method=GET action=page.php4 pEmail address: input type=text name=email size=20 input type=submit value=Shop! name=submit /form - seb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

RE: [PHP] GET method and forms....

2001-08-22 Thread Seb Frost
But I have good reason to use get, I want all the other variables to become part of the url. - seb -Original Message- From: ERISEN, Mehmet Kamil [mailto:[EMAIL PROTECTED]] Sent: 23 August 2001 03:10 To: Seb Frost; [EMAIL PROTECTED] Subject: Re: [PHP] GET method and forms instead

[PHP] Resizing jpegs

2001-08-21 Thread Seb Frost
How can I do this? Say I have a 320x240 file but I only want to show a 160x120 thumbnail. I'm looking to decrease download speeds. cheers, - seb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] List of files?

2001-08-21 Thread Seb Frost
OK so I'vebeen reading about reading and writing to/from files, but what I want to do is (I think) simpler than this. Basically I want to look at a directory and be able to get a list of all subdirectories and then a list of the files in each directory. Can someone give me a hint? cheers

[PHP] Detecting empty query result?

2001-08-21 Thread Seb Frost
Basically I want to check to see if $fileDir is already in my database. I do this as: $result = mysql_query(SELECT fileDir FROM shoots WHERE (fileDir='$fileDir')); How do I check the result? I normally use mysql_result($result, $row, $field) to read my

RE: [PHP] Detecting empty query result?

2001-08-21 Thread Seb Frost
just use mysql_num_rows($result) dummy :-) doh. sorry to bother y'all. -Original Message- From: Seb Frost [mailto:[EMAIL PROTECTED]] Sent: 21 August 2001 14:55 To: [EMAIL PROTECTED] Subject: [PHP] Detecting empty query result? Basically I want to check to see if $fileDir is already

RE: [PHP] Listing files from a directory

2001-08-21 Thread Seb Frost
store all the names in an array and then sort that using an inbuilt php function, maybe. - seb -Original Message- From: Martin E. Koss [mailto:[EMAIL PROTECTED]] Sent: 21 August 2001 16:43 To: [EMAIL PROTECTED] Subject: [PHP] Listing files from a directory I am trying to find a way

RE: [PHP] hacks we should know about

2001-08-21 Thread Seb Frost
I don't host my own site so how can I put include files outside of the web root? I log on ftp and my top level IS the web root (htdocs), I can't go any higher. - seb -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: 17 August 2001 05:01 To: Bob Cc: [EMAIL

[PHP] To jump or not to jump?

2001-08-21 Thread Seb Frost
Is it good practice (sp?) to jump in and out of php whenever you've got some plain html to write, or should one write an entire file in php? I'm leaning towards the latter, unless there's a huge chunk of html code. opinions? - seb -- PHP General Mailing List (http://www.php.net/) To

[PHP] Picking random numbers

2001-08-20 Thread Seb Frost
OK I want to pick 5 random numbers from 1 to 200. Easy. They must all be different. Not so easy. And I don't want to use shuffle because of the comments on php.net about it. - seb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] MySQL substrings?

2001-08-19 Thread Seb Frost
This is thew sort of thing I want: SELECT * FROM table ORDER BY substr(field,5,6) but I don't know the correct function, if there is one, or how to implement it. cheers, - seb -Original Message- From: Michael [mailto:[EMAIL PROTECTED]] Sent: 19 August 2001 12:51 To: [EMAIL PROTECTED]

RE: [PHP] MySQL substrings?

2001-08-19 Thread Seb Frost
This doesn't work: $result = mysql_query(SELECT * FROM $table ORDER BY SUBSTRING(date,5,2)) Any idea why? - seb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators,

[PHP] Passing variables to a file

2001-08-19 Thread Seb Frost
OK I know this can be done like so: file.php4?foo=bar but what if I want to keep the value of foo secret from the user? - seb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

[PHP] Overlaying text on jpegs

2001-08-18 Thread Seb Frost
I hear this is achievable via php. My GD information is: GD Support enabled GD Version 1.6.2 or higher FreeType Support enabled FreeType Linkage with TTF library GIF Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled So could someone show me an example of how to

RE: [PHP] Display Image

2001-08-18 Thread Seb Frost
well you've got that unmatched at the end... - seb -Original Message- From: Andonny [mailto:[EMAIL PROTECTED]] Sent: 19 August 2001 03:28 To: [EMAIL PROTECTED] Subject: [PHP] Display Image Hi, I tried below to display the picture on the webpage. I have in the pcture column a http

RE: [PHP] Display Image

2001-08-18 Thread Seb Frost
I always split it up if I'm having errors... echo img src=\; echo $row[picture]; echo \; echo $row[description]; - seb - Original Message - From: Chris Schneck [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, August 18, 2001 7:29 PM Subject: Fw: [PHP] Display Image echo img

RE: [PHP] Extract email address from string

2001-08-18 Thread Seb Frost
Well you need to search for @ then search forwards and backwards till you get to whitespaces store those positions then use the substr function. - seb -Original Message- From: Gaylen Fraley [mailto:[EMAIL PROTECTED]] Sent: 19 August 2001 03:37 To: [EMAIL PROTECTED] Subject: [PHP]

[PHP] Is jacascript enabled?

2001-08-16 Thread Seb Frost
What's thee easiest way to check this? - seb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] How to stop images preloading in netscape?

2001-08-13 Thread Seb Frost
I have a php page which generates a page of thumbnails from a database. In internet explorer all of the layout loads first, and the thumbnails appear one by one as they are downloaded. Netscape however seems to insist on downloading all images before displaying the page. This makes it appear

RE: [PHP] html form question

2001-07-26 Thread Seb Frost
Thanks for that! I was just using the same structure as I found in a code sample somewhere. - seb -Original Message- From: Lenar [mailto:[EMAIL PROTECTED]] Sent: 26 July 2001 13:16 To: [EMAIL PROTECTED] Subject: Re: [PHP] html form question Funny you should ask - just done it

RE: [PHP] html form question

2001-07-26 Thread Seb Frost
OK so how would that look if I'd done SELECT * instead of SELECT eventName? I'm guessing I have two nested while loops then? I'm guessing something like this.? Or is it not possible and I have to go back to mysql_result? ?php mysql_connect(db, $user, $password); $result =

RE: [PHP] PHP function to extract EXIF data from JPGs?

2001-07-25 Thread Seb Frost
Let me know if you find anything out about this because it's something I too would like to use. - seb -Original Message- From: Richard Kitamura - Media Net Link, Inc. [mailto:[EMAIL PROTECTED]] Sent: 24 July 2001 23:40 To: [EMAIL PROTECTED] Subject: [PHP] PHP function to extract EXIF

RE: [PHP] php

2001-07-25 Thread Seb Frost
Install winzip. Create new archice. Drag and drop directory from explorer or whatevr into it. Couldn't be easier. - seb -Original Message- From: Eduardo Kokubo [mailto:[EMAIL PROTECTED]] Sent: 25 July 2001 12:55 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [PHP] php Hi,

[PHP] Why doesn't this simple query work?

2001-07-25 Thread Seb Frost
Driving me mad. Works if I put a string in quote marks instead of the variable $location. $result = mysql_query(SELECT shootID FROM shoots WHERE (location=$location)); This should work shouldn't it? If it's a problem with the variable being embedded in the query what's the easiest way to

RE: [PHP] Regular Expression Question

2001-07-25 Thread Seb Frost
since you know exactly which 4 characters you want to keep you can use a simple string trimming routine. $newstring = substr($string,1,5); No need for complicated regular expressions! - seb -Original Message- From: Jeff Oien [mailto:[EMAIL PROTECTED]] Sent: 25 July 2001 21:47 To: PHP

RE: [PHP] Regular Expression Question correction

2001-07-25 Thread Seb Frost
$newstring = substr($string,1,4); FOUR, not FIVE. Doh. -Original Message- From: Seb Frost [mailto:[EMAIL PROTECTED]] Sent: 25 July 2001 22:03 To: [EMAIL PROTECTED]; PHP Subject: RE: [PHP] Regular Expression Question since you know exactly which 4 characters you want to keep you can

RE: [PHP] Regular Expression Question

2001-07-25 Thread Seb Frost
I hope my later message clarifys what I mean. - seb -Original Message- From: Jeff Oien [mailto:[EMAIL PROTECTED]] Sent: 25 July 2001 22:05 To: PHP Subject: RE: [PHP] Regular Expression Question Aren't the trims just for white space? Jeff Oien since you know exactly which 4

[PHP] string concatenation

2001-07-25 Thread Seb Frost
OK let's say in variable $search I have the string color (without the quote marks). now I want to be able to refer to the variable $color in my code. How in gods name do I do this. I guess somehow I have to combine a $ with the contents of £search or something...? - seb -Original

[PHP] Window size (not PHP?)

2001-07-25 Thread Seb Frost
[mailto:[EMAIL PROTECTED]] Sent: 25 July 2001 23:41 To: 'Seb Frost'; [EMAIL PROTECTED]; 'PHP' Subject: RE: [PHP] Regular Expression Question http://www.php.net/manual/en/function.substr.php string substr (string string, int start [, int length]) Substr returns the portion of string specified

RE: [PHP] OT--PHP, MySQL, WML and GPS Tracking

2001-07-25 Thread Seb Frost
Er, surely you need a device with built in GPS recievers? WHich certainly won't be every PDA and mobile phone out there... - seb -Original Message- From: John Monfort [mailto:[EMAIL PROTECTED]] Sent: 26 July 2001 00:22 To: [EMAIL PROTECTED] Subject: [PHP] OT--PHP, MySQL, WML and GPS

RE: [PHP] html form question

2001-07-25 Thread Seb Frost
Funny you should ask - just done it myself: ?php $table=shoots; require (connect.php4); $result=MYSQL_QUERY( SELECT eventName FROM $table); $num_rows = mysql_num_rows($result); for ($i=0;$i$num_rows;$i++) { echo option;

RE: [PHP] string concatenation

2001-07-25 Thread Seb Frost
]] Sent: 26 July 2001 02:10 To: Seb Frost; PHP Subject: Re: [PHP] string concatenation On Thu, 26 Jul 2001 06:54, Seb Frost wrote: OK let's say in variable $search I have the string color (without the quote marks). now I want to be able to refer to the variable $color in my code. How in gods

[PHP] Referencing file?

2001-07-22 Thread Seb Frost
OK so I have a number of different pages calling header.php4 as required. How can I set php in header.php4 to reflect the name of the document that called it? - seb -Original Message- From: Greg Schnippel [mailto:[EMAIL PROTECTED]] Sent: 22 July 2001 14:48 To: [EMAIL PROTECTED] Subject:

RE: [PHP] .

2001-07-21 Thread Seb Frost
quite. just what I was thinking actually. -Original Message- From: ASP [mailto:[EMAIL PROTECTED]] Sent: 21 July 2001 15:35 To: [EMAIL PROTECTED] Subject: [PHP] ðÒÉÇÌÁÛÁÅÍ ÎÁ ÒÁÂÏÔÕ É Ë ÓÏÔÒÕÄÎÉÞÅÓÔ×Õ. ÷Ù ÒÁÍÅÝÁÌÉ Ó×ÏÅ ÒÅÚÀÍÅ? ðòéçìáûáåí ë óïôòõäîéþåóô÷õ é îá òáâïôõ

[PHP] PHP SSI in armony?

2001-07-21 Thread Seb Frost
I want to use both PHP and SSI on the same page. My server requires that SSI files are .shtml. If I set it to also treat .shtml files as php files (like I have done with .htm) then what will happen? Will it get parsed first for php and then for ssi, or the other way round? Or puke completely?

RE: [PHP] Image color quality problems

2001-07-21 Thread Seb Frost
Not an answer I'm afraid but does PHP has the ability to do this with JPEGs? Would be VERY useful to me if it does! - seb -Original Message- From: Kurt Lieber [mailto:[EMAIL PROTECTED]] Sent: 21 July 2001 23:27 To: [EMAIL PROTECTED] Subject: [PHP] Image color quality problems I have

RE: [PHP] Image color quality problems

2001-07-21 Thread Seb Frost
Thanks Kurt. Unfortunately my server only has gd 1.6.2 (gd 1.8.3 required aparantly) and I can't change that. Never mind. - seb -Original Message- From: Kurt Lieber [mailto:[EMAIL PROTECTED]] Sent: 22 July 2001 00:26 To: 'Seb Frost'; [EMAIL PROTECTED] Subject: RE: [PHP] Image color

RE: [PHP] please remove me from the mail list

2001-07-20 Thread Seb Frost
Send a message to [EMAIL PROTECTED] to achieve this danny. - seb -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of danny brown Sent: 20 July 2001 16:03 To: [EMAIL PROTECTED] Subject: [PHP] please remove me from the mail list thanks -- PHP General

[PHP] Displaying tables

2001-07-20 Thread Seb Frost
OK I'm playing around with MySQL on my ISP's server. Created myself some forms that create/delete tables and enter/display data in a table. Is there a simple way to generate a list of all my tables, or even better to display all of the tables with all of their information? cheers, seb --

[PHP] One one webhosting

2001-07-20 Thread Seb Frost
To: Seb Frost; [EMAIL PROTECTED] Subject: Re: [PHP] Displaying tables Seb Frost [EMAIL PROTECTED] wrote: OK I'm playing around with MySQL on my ISP's server. Created myself some forms that create/delete tables and enter/display data in a table. Is there a simple way to generate a list of all my

[PHP] Basic database questions.

2001-07-19 Thread Seb Frost
Hi everyone, this is my first ever post on the list so please be gentle with me ;-) OK I want to put a database on my website. Up until yesterday my knowledge of databases was having created a very simple one when I was about 15 for GCSE IT. Don't ask how, but I've always avoided them,

RE: [PHP] Re: Basic database questions.

2001-07-19 Thread Seb Frost
database questions. Seb Frost [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi everyone, this is my first ever post on the list so please be gentle with me ;-) OK I want to put a database on my website. Up until yesterday my knowledge of databases wa

RE: [PHP] Re: Basic database questions.

2001-07-19 Thread Seb Frost
. the nice thing about it is the installers are superb and you can get away with installing the three progs and off you go. let me know if you need any further help. Steve Seb Frost [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Thanks Steve that's

RE: [PHP] I AM AT THE START POINT

2001-07-19 Thread Seb Frost
The most general way is to use FTP to upload the page you've just created to a server that supports PHP. This is normally done like this in windows: ftp://username:[EMAIL PROTECTED] Just fill in the relevant bits. - seb -Original Message- From: Ali YILDIRIM [mailto:[EMAIL PROTECTED]]