Re: [PHP] MySQL: copying entire columns

2001-11-30 Thread Tom Churm
me) values('$Address','$Phone','$Name')"; if this is true, it'll save me a lot of useless time trying to reorder my tables. thanks much, tom Miles Thompson wrote: > > Tom > > It's a relational database, field column position does not ma

[PHP] Pull from mysql_fetch_array at a given time

2001-12-03 Thread Tom Beidler
tly but hopefully you get the idea. I would like to add for the first item. for the second for the third. Am I approaching this from the wrong way? Thanks, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR

[PHP] Parsing RSS

2001-12-03 Thread Tom Malone
Hi to all Does anyone know of any good books or online tutorials on parsing RSS feeds with PHP (or parsing XML in general in PHP)? Tom Malone Web Designer http://www.tom-malone.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] incorrect results from is_dir

2001-12-07 Thread Tom Beidler
#x27;site_images'); if (is_dir($image_folder) == "TRUE") { $folder_exists = "yes"; } else { $folder_exists = "no"; } Everything comes up TRUE whether the directory exists or not. Any help greatly appreciated. Running on UNIX. Thanks, Tom -- PHP General

Re: [PHP] Searching for a new provider

2001-12-12 Thread Tom Ray
Hey Andy- I work with a hosting company that I believe has everything you're looking for in your wish list. They're a small company that's been around for about 10 years (started as an ISP). If you can get me more information on the type of hosting you're looking to do and what other specific

[PHP] Simple Question

2001-12-12 Thread Tom Ray
o the word "Tom's" looks like "Tom\'s" Is there anyway for me to handle those characters so the backslash doesn't appear in the output? Thanks, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

Re: [PHP] Re: Simple Question

2001-12-12 Thread Tom Ray
oh no, Iv'e gotten two answers... stripslashes() and strip_slashes() which one? which one?! Gaylen Fraley wrote: >strip_slashes() > >-- >Gaylen >[EMAIL PROTECTED] >Home http://www.gaylenandmargie.com >PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwe

[PHP] max # of characters for links to work in emails?

2001-12-13 Thread Tom Churm
them 'unclickable'. and this is exactly what i wanna avoid. anyone have any advice to offer in this area? muchos gracias, tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To c

Re: [PHP] Unable to return object references from functions

2001-12-15 Thread Tom Rogers
Hi Is this doing what you want, seems you have to use an array to create the ref (just getting a handle on objects :) dummy="original"; $success=1; $copy=$object; $copy->dummy="copy"; $returned[] = &$object; var_dump("In the function"

Re: [PHP] Unable to return object references from functions

2001-12-15 Thread Tom Rogers
o ""; var_dump("Out the function",$success,$not_returned[0],$copy,$object); ?> At 02:15 PM 16/12/01, Tom Rogers wrote: >Hi >Is this doing what you want, seems you have to use an array to create the >ref (just getting a handle on objects :) > >class tes

Re: [PHP] using variables

2001-12-16 Thread Tom Rogers
Hi you need: or Tom At 05:39 PM 16/12/01, David Killingsworth wrote: >I'm trying to determing why this won't work. >I wish to assign graphics to variables then call them >within the HTML on my .php pages. >--test.php-- >$ulo = "/images/ulo.gif&q

Re: [PHP] Unable to return object references from functions

2001-12-16 Thread Tom Rogers
Hi What is the scope of the array that holds the object ? Maybe a bit of code to show what you are after :) Tom At 03:37 PM 17/12/01, Manuel Lemos wrote: >Hello, > >Tom Rogers wrote: > > > > Hi again > > Got a bit sidetracked ... here is your original code :) > >

Re: [PHP] $PHPSESSID on PHP 4.1.0

2001-12-17 Thread Tom Rogers
Hi One way is or if cookies aren't used try $PHPSESSID seems to only get set if it comes back as a cookie Tom At 04:39 AM 18/12/01, Julio Nobrega Trabalhando wrote: > Hi All, > > I have a few scripts using $PHPSESSID to softly disable cookies >requirement on some pages.

Re: [PHP] Slash problem

2001-12-19 Thread Tom Rogers
Hi set this in your php.ini file: magic_quotes_gpc = Off You'll have to use addslashes before you can store these variables with an ' in a database after turning it off. Tom At 10:39 AM 20/12/01, Evansville Scene wrote: >I'm fairly new @ PHP, so forgive me if the answer is

[PHP] PHP sending email contents as an attachment, not in the body

2001-04-03 Thread Tom Pinder
s, "from:[EMAIL PROTECTED]"); Many thanks, Tom Pinder -- 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] Virtual Hosts on Solaris with iPlanet Enterprise

2001-04-06 Thread Tom Freeman
Does anyone know the way to make php4 running as NSAPI, work with named virtuals? It seems to work only if it is a real virtual (with its own IP) and not a named virtual. Any help is greatly appreciated Tom Freeman Web Analyst StellarRAD Systems an Everest Global Technologies Company p

[PHP] HTTP_POST_VARS not picking up checkboxes that are unchecked

2001-06-18 Thread Tom Beidler
egy? Have I said Thank you enough to Rasmus Lerdorf and whomever else was involved in resuscitating the list? Thanks Rasmus Lerdorf and all others involved for getting the list back up and running. >>.>>.>>>.>>>>>.>>>>>>>>>.>>>>>>>> Tom Beidler Orbit Tech Services 805.682.8972 (phone) 805.682.5833 (fax) [EMAIL PROTECTED] http://www.orbittechservices.com/ >>.>>.>>>.>>>>>.>>>>>>>>>.>>>>>>>>

Re: [PHP] INSERT problem with MySQL/PHP

2001-06-18 Thread Tom Carter
Only a small little problem.. you called your sql query $sql and then in your mysql_db_query line called it $sql_query..call them both the same name and it should work! HTH,Tom - Original Message - From: "Todd A. Jacobs" <[EMAIL PROTECTED]> To: "PHP General"

[PHP] how to delete cookies

2001-06-19 Thread Tom Beidler
ether? >>.>>.>>>.>>>>>.>>>>>>>>>.>>>>>>>> Tom Beidler Orbit Tech Services 805.682.8972 (phone) 805.682.5833 (fax) [EMAIL PROTECTED] http://www.orbittechservices.com/ >>.>>.>>>.>>>>>.>>>>>>>>>.>>>>>>>>

Re: [PHP] inserting a variable into a variable

2001-06-20 Thread Tom Carter
ossible, but probably better to slightly rethink your naming strategy HTH, Tom > > The above is a variable and $cat is again another variable > This does not work.. > > Need some help! > > > Thanks, > Hasan >

Re: [PHP] Re: Lists are back up

2001-06-20 Thread Tom Carter
ool... you can even wirte agents in full Java now! Damn, still talking the corporate speak.. Tom > > Alexander Skwar > -- > How to quote: http://learn.to/quote (german) http://quote.6x.to (english) > Homepage: http://www.digitalprojects.com | http://www.iso-top.de >i

Re: [PHP] bad form...

2001-06-20 Thread Tom Carter
x (in which case the complexity of the processing may make the physical file cumbersome) HTH, Tom > hello everyone, is it 'bad form' (no pun intended) to have a form point to > itself for processing, rather than forward the form variables to another > page? Anybody have any input

[PHP] Problems with include directory which falls under .htaccess protection

2001-06-23 Thread Tom Carter
subdirectory of the root of the site and hence fall under the jursidiction of the .htaccess. PHP cannot however access these.. I guess because it also needs to be authenticated... Oh, I checked the PHP code etc... and everything works fine... Thanks in Advance.. Tom Carter Web Architect roundcorners

Re: [PHP] run a fuction at each intervals

2001-06-26 Thread Tom Carter
Did you want these all to appear on the same page? If so then that can't be done.. the nature of HTTP (the method of delivering pages to the browser) doesn't allow for this sort of thing.. theres nothing PHP can do about that. The only alternative I can suggest is for the page to refresh/redirect

Re: [PHP] Authentication

2001-06-26 Thread Tom Carter
To be more accurate, its IIS on Windows that causes problems.. one of our test boxes runs windows + apache and doesn't experience this problem > Tnx, > > I've been trying out some stuff last night and found out some interesting > facts! > the ISAPI dll is full of access violations. Being a Delphi

Re: [PHP] run a fuction at each intervals

2001-06-27 Thread Tom Carter
this sort of works.. I did a similar thing on a site.. but it *really* is not what HTTP is designed for + you start to get all kinds of things... main problem being it won't execute code afterwards to then.. if, for example, it is displayed in a table then that won't work + some browsers may not d

Re: [PHP] Stopping stolen / spoofed / linked sessions

2001-06-29 Thread Tom Rogers
Hi When you start a session for the first time store remote host info and validate it on subsequent accesses. Tom At 10:48 PM 28/06/01, [EMAIL PROTECTED] wrote: >Hi adam! >On Wed, 27 Jun 2001, adam (dahamsta) wrote: > > > [Please copy replies off-list.] > > > > I wa

Re: [PHP] search

2001-07-03 Thread Tom Carter
Rather than trying to break it into an array, you can examine the rightmost character as follows $search="dogs"; if(substr($search,-1)=='s') $search=substr($search,0,-1); This checks if the last character is an s and if it is then set search to the same string but without the s.. note, does not

[PHP] recommend a good PHP site specific search engine

2001-07-03 Thread Tom Beidler
Can anyone suggest a good PHP/MySQL search engine to be used to search a site (not the entire Internet). I have a site with an extensive amount of manual pages that we would like to provide a search engine for. Thanks, Tom >>.>>.>>>.>>>>>.>>>&g

[PHP] Re: recommend a good PHP site specific search engine

2001-07-03 Thread Tom Beidler
I should have mentioned that it will run on a Windows box. on 7/3/01 7:00 AM, Tom Beidler at [EMAIL PROTECTED] wrote: > Can anyone suggest a good PHP/MySQL search engine to be used to search a > site (not the entire Internet). I have a site with an extensive amount of > manual page

[PHP] Netscape error on first attempt to load PHP page but not second

2001-07-03 Thread Tom Beidler
a secure site using cookies and redirects if the cookie isn't set. Thanks, Tom >>.>>.>>>.>>>>>.>>>>>>>>>.>>>>>>>> Tom Beidler Orbit Tech Services 805.682.8972 (phone) 805.682.5833 (fax) [EMAIL PROTE

[PHP] poor HTML syntax crashing (!) netscape

2001-07-03 Thread Tom Carter
thing I have ruled out is that it is JavaScript.. I removed all of that and no change. Any tips will be helpful... in the meanwhile I'm going to go thru all my functions to attempt to work out what is doing it *yawn* TIA Tom. -- PHP General Mailing List (http://www.php.net/) To unsubs

Re: [PHP] Removing Invalid Users

2001-07-04 Thread Tom Carter
em an email (and even then you can't be sure)... if you could check then it would be too nice for spammers! What you can do in addition is to check that the domain is a valid domain (ping?) HTH,Tom - Original Message - From: "Clayton Dukes" <[EMAIL PROTECTED]> To

Re: [PHP] verifying that a dropdown was selected

2001-07-05 Thread Tom Gitzinger
or something might help you. Good luck Tom -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net GMX Tipp: Machen Sie Ihr Hobby zu Geld bei unserem Partner 1&1! http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a -- PHP General Mailing List (http://www.php.ne

[PHP] File download script

2001-07-05 Thread Tom Carter
lling from. if I then click open it then prompts me correctly.. any body got any idea? It never used to do this so something has changed TIA Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To co

Re: [PHP] where can I find a good documentation on regular expressions?

2001-07-06 Thread Tom Carter
Or if yu9o *really* want to learn reg-ex's then I can highly recommed "Mastering Regular Expressions" by O'Reilly press starts from nothing and by the end you'll find them easy as can be HTH - Original Message - From: "Christian Reiniger" <[EMAIL PROTECTED]> To: "Mick Foster" <[EMAIL

Re: [PHP] get a screen resolution

2001-07-06 Thread Tom Carter
it is told (if that makes any sense) The only possibility is for JavaScript to "tell" PHP about it..ie.. when a link within the site is pressed (say from a splash screen or a login box) then have javascript append on the resolution to the redirect url, from which php will then kno

Re: [PHP] Convert MP3s using PHP ?

2001-07-06 Thread Tom Carter
> >hi, > >is it possible to convert a mp3 file (for example > >190kbps) to a mp3 file with 128kbps or less ? > > exec() > system() To expand upon that previous answer.. sort of. PHP can't, but if you can find a command line utility to perform the conversion (sorry, I don't know any of hand) then

Re: [PHP] My new toy!

2001-07-06 Thread Tom Carter
point 1...make you password fields of type password rather than text Okay I need some people to jump in and try to use my site to see if it is > working OK. I know I have a lot of work to do on it but I just want some > feed back and to get a little more direction before I light into the code > a

Re: [PHP] robot.txt file

2001-07-07 Thread Tom Carter
Hi Don, How do you work this out? ie how do you know when you are spidered? I'm interested in what logs and what patterns lead you to know this? Thanks, Tom > > On 07-Jul-01 Mark Lo wrote: > > Hi, > > > >I don't know how to write a robot.txt file.

[PHP] Re: [PHP-DB] Parsing Error

2001-07-08 Thread Tom Carter
To expand on that.. printf is short for print-formatted... its a function inherited from c (I think) which basically allows your to format variable for the display within the function, eg if you had $x=1.2243 then you could, for example, use ptinf to only display it as 1.22 To cut a long story sh

Re: [PHP] can't generate gif!!!

2001-07-08 Thread Tom Carter
I thought convert was an imagemagick command, rather than unix by default? could be wrong tho... - Original Message - From: "Ben Bleything" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, July 08, 2001 5:23 PM Subject: RE: [PHP] can't generate gif!!! > Also, if you don't need t

Re: [PHP] can't generate gif!!!

2001-07-08 Thread Tom Carter
s had convert. I do a lot of > photography, and so I use it a lot => > > Ben > > -----Original Message- > From: Tom Carter [mailto:[EMAIL PROTECTED]] > Sent: Sunday, July 08, 2001 9:52 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] can't generate gif!!! >

Re: [PHP] Re: poor HTML syntax crashing (!) netscape

2001-07-09 Thread Tom Carter
he PHP engine to just shut down! As a foot note... it was a table problem.. one bug in a nested table (in an included included include file) that was causing it!! Thanks Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

[PHP] Store uploaded files in MySQL-BLOB

2001-07-10 Thread Tom Gitzinger
. "); By the way: which version of PHP 3 do you need to upload several files at once? Tom -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net GMX Tipp: Machen Sie Ihr Hobby zu Geld bei unserem Partner 1&1! http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596

[PHP] PHP] Re: Store uploaded files in MySQL-BLOB

2001-07-10 Thread Tom Gitzinger
additional information, such as every kind of file (i.e. not only code files but also images etc). There is an where he selects the file to be uploaded. The php-script is simply supposed to receive the file and put it into the proper database-column (which is a MEDIUMBLOB by the way, should be enoug

[PHP] Fatal error: Call to undefined function: mysql_pconnect() in ...

2001-07-11 Thread Tom Beidler
to troubleshoot for the ISP. Any help would be greatly appreciated. Thanks, Tom -- 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]

Re: [PHP] Fatal error: Call to undefined function:mysql_pconnect() in ...

2001-07-11 Thread Tom Beidler
I have tried mysql_connect() with the same result "Fatal error: Call to undefined function: mysql_connect()..." > From: "Matthew Loff" <[EMAIL PROTECTED]> > Organization: Willetts Systems > Date: Wed, 11 Jul 2001 16:01:13 -0400 > To: "'Tom Beidl

[PHP] Protecting a directory

2001-07-12 Thread Tom Malone
ering "http://www.somefakeurl.com/admin/. Since i do not want to use an index page in that directory, is there any way to keep people from seeing that index using PHP? Thank you Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

[PHP] HTTP Authorization

2001-07-13 Thread Tom Malone
database. Thank you! Tom -- 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] Session Question

2001-07-14 Thread Tom Malone
can anyone help me find a solution/workaround? Thanks, Tom Malone -- 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] Re:[PHP] Session Question

2001-07-15 Thread Tom Malone
Thanks Christopher! I chmoded the directory to 777 like you said, and it worked fine, but then I took your advice regarding security and put all the data in a MySQL database. Thank you very much for your help! Tom Malone -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

[PHP] Confusion abounds here

2001-07-15 Thread Tom Malone
sion cache limiter - headers already sent (output started at /home/tgmalone/public_html/admin/logs.php:1) in /home/tgmalone/public_html/admin/logs.php on line 1 but I'm not trying to send any headers! (or am I?) Confused! Tom Malone -- PHP General Mailing List (http://www.php.net/) To unsub

[PHP] Re: Confusion abounds here

2001-07-15 Thread Tom Malone
Thanks Maxim and Inercia - you were both right - somehow an extra space was put in before the 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] Strange wierd problem

2001-07-16 Thread Tom Malone
itrary - i haven't been able to determine a pattern. The code I'm using follows: Can anyone help? Thanks in advance! Tom -- 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 ad

[PHP] PHP vs Perl question

2001-07-18 Thread Tom Malone
ring how easy PHP is to learn and use? Someone I know told me not to bother, but I just wanted a second opinion. (BTW - if you think it is worthwhile to learn Perl, what is a good book to begin with?) Thank you! Tom Malone -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

[PHP] Re: a good PHP editor

2001-07-18 Thread Tom Malone
I think that both TextPad and NoteTab are excellent editors, with TextPad being the better of the two. Tom -- 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

[PHP] Re: a good PHP editor

2001-07-18 Thread Tom Malone
Homesite since it was >shareware. :) HomeSite used to be a great editor until version 4 - that's when it began to have memory problems, and that's when I switched to TextPad (although this EditPlus editor looks pretty good!) Tom -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] Re: PHP vs Perl Question

2001-07-18 Thread Tom Malone
Unix or Linux (minimal), but on the other hand, I use Windows ME, not NT. Also, I wonder if the Learning Perl on Win32 book might not me geared more towards NT administrators (I'm a web designer). Sorry this is so OT, but I really need to know and you people are the experts. Tom >I'

RE: [PHP] Prevent user to close web browser

2001-07-19 Thread Tom Malone
I am almost positive this is not possible with JavaScript or even VBScript. It might be possible with Visual Basic, but again - why would you want to do that? Tom -Original Message- From: kath [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 8:39 AM To: Mihailo Dzigurski Cc

RE: [PHP] Prevent user to close web browser

2001-07-19 Thread Tom Malone
e web browser on 7/19/01 8:33 AM, Tom Malone at [EMAIL PROTECTED] wrote: > I am almost positive this is not possible with JavaScript or even VBScript. > It might be possible with Visual Basic, but again - why would you want to do > that? Netscape will warn the user that the script (

[PHP] encryption

2001-07-19 Thread Tom Malone
hashing on the client side before being sent over the Internet (which would make this function unnecessary)." I am pretty new to PHP and absolutely clueless as far as encryption/algorithims are concerned. Could anyone possibly point me to a viable solution for this problem? Thanks in

RE: [PHP] encryption

2001-07-19 Thread Tom Malone
I guess I should clarify - I'm just making a login for myself for the admin section of my website, so I only need to be able to protect my own password. I'm not sure if that information if helpful at all, but I haven't been able to figure out how to do it. Tom -Original Me

Re: [PHP] Whats wrong with this code?

2001-07-22 Thread Tom Carter
do you mean.. $message = $IP. $PORT. $SYSTEM . $PAGE; . not , $message = $IP, $PORT, $SYSTEM, $PAGE; -- 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] PHP & Imagemagick

2001-07-22 Thread Tom Carter
How do you mean bindings? I've used PHP and Imagemagick.. but only from the point of view of exec Do you mean building them into PHP functions? - Original Message - From: "Weston Houghton" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, July 22, 2001 11:05 PM Subject: [PHP] P

Re: [PHP] rename a directory

2001-07-24 Thread Tom Carter
on unix I think it should work for both.. can't say I know on windows.. also, why not try exec or system and just run the normal system command for it? - Original Message - From: "Jeff" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 24, 2001 6:07 PM Subject: [PHP] rename

Re: [PHP] D d d d database?

2001-07-24 Thread Tom Carter
http://www.flashkit.com has got some fantastic examples/tutorials on passing variables to/from flash, including to PHP and a database.. should have everything you want there.. > Take a look at tutorials on www.devshed.com .. or a few simular websites.. > they sould help you.. > > I'm not sure abo

[PHP] Apache/phpinfo

2001-07-24 Thread Tom Malone
How can you tell if your host has PHP installed as mod_php or in CGI mode on the webserver (Apache in my case)? Is it in phpinfo.php? If so, where - I couldn't find it... Thanks Tom Malone -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] Apache/phpinfo

2001-07-24 Thread Tom Carter
create a file on one of your websites, say call it test.php and in it put the following - Original Message - From: "Tom Malone" <[EMAIL PROTECTED]> To: "PHP Users" <[EMAIL PROTECTED]> Sent: Tuesday, July 24, 2001 8:14 PM Subject: [PHP] Apache/phpinfo

Re: [PHP] Example high-profile PHP sites

2001-07-26 Thread Tom Malone
Doesn't Google use PHP? Tom -- 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]

RE: [PHP] hosting

2001-07-26 Thread Tom Malone
.. ( they support Frontpage too, but i'm going to talk them out of it) =) http://www.oc12host.com Tom -Original Message- From: Aniceto Lopez [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 11:43 AM To: PHP list Subject: [PHP] hosting Nice one: http://100megswebhosting.com - 1

Re: [PHP] my php script is very slow. help?

2001-07-27 Thread Tom Carter
you work out what is taking the time. HTH,Tom > > > Hi all > > I have Linux/PHP/MySQL. Some of my script really run > very slowly. painfully slow. All data are fetched from > the database. The tables in database are indexed. > Still some scripts are very slow. I am usin

[PHP] Re: Attitude of B van Ouwerkerk

2001-07-31 Thread Tom Malone
. Here are some useful resources I turn to when I'm seeking a PHP-related answer: www.phpbuilder.com www.webreference.com www.webmonkey.com www.devshed.com www.weberdev.com Tom Malone http://www.tom-malone.com On Tuesday 31 July 2001 3:05, you wrote: > I've just looked at his e

Re: [PHP] how can i send SMS from Php Scripts ?

2001-08-01 Thread Tom Carter
ave a contract with SMSC (service centre) for it. in england I pay about 2 pence a msg (much less than a "normal" phone) HTH, Tom - Original Message - From: "Damien CAMUS" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 01, 2001 10:51 AM S

Re: [PHP] Spot the difference?

2001-08-02 Thread Tom Carter
A fairly detailed disucission, altho slightly out of date http://php.resourceindex.com/Documentation/Reviews_and_Analysis/PHP_vs._ASP/ and one on the dangers of advocacy http://www.perl.com/pub/a/2000/12/advocacy.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] Mysql Help #2

2001-08-03 Thread Tom Carter
Depends what is to happen to the array afterwards, but in general no. An interesting thing is to put timing method calls around a block of code in question, you will find something like this (depending upon size of db) takes somehting like 0.005 seconds. Timing things can be useful measures of a

Re: [PHP] php date bug ?

2001-08-03 Thread Tom Carter
Just to throw one more unwelcome cat amongst the pigeons.. Different countries/time zones have summer time, I think almost all countries do, but the actual days when they switch vary from country (yes I know, bloody nusiance isn't it?) I know as an example of this theres about three weeks of the

[PHP] 404's and requesting page

2001-08-05 Thread Tom Carter
t the page with the link, but that isn't what interests me. system: apache, linux, php 4.0.6 Anyone got any ideas? TIA, Tom -- 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 ad

Re: [PHP] 404's and requesting page

2001-08-05 Thread Tom Carter
some other apache config I need to make? The .htaccess line I have doing the redirect is ErrorDocument 404 path/to/file Thanks a million for any help, Tom > $HTTP_SERVER_VARS["REDIRECT_STATUS"] will be "404" (or "403" if you trap > those too). > > $HTTP_SERVER

Re: [PHP] 404's and requesting page

2001-08-06 Thread Tom Carter
tried this, and on my system $HTTP_SERVER_VARS["REQUEST_URI"] > contains the URI that generated the error. > > If your 404 page just dumps phpinfo() you can see the list of variables > available to your script. > > - Tim > > On 05 Aug 2001 21:16:29 +0100, Tom Car

Re: [PHP] 404's and requesting page

2001-08-06 Thread Tom Carter
, which explains why the variables were as they were and why the status was 401 rather than 404. Obvious really when one thinks about it. Thanks for you advice tho tim, much appreciated. Tom - Original Message - From: "Tom Carter" <[EMAIL PROTECTED]> To: "Tim&qu

Re: [PHP] storing team members---suggestions on approach?

2001-08-06 Thread Tom Carter
Use three tables, one from projects one for members one for assignments Projects projectid projectname length description and whatever else members === memberid name category workingon memberid projectid so each member can be in one or many proje

[PHP] Search Engines

2001-08-06 Thread Tom Carter
Hi All, Does anyone have any experience with registering sites on the major search engines? I have a number of questions I hope to find help with (and please do excuse that not all of them are directly PHP related) -Do search engines treat .html and .php files differently in caching etc? -I inc

[PHP] FYI: PHP scripts that return files

2001-08-06 Thread Tom Carter
ition line from your php script and it will all work wonderfully well!! Also good for DB stored images you don't want to appear as .php! hope this helps some people... Tom "Rambling" Carter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] I HAVE A PROBLEM HERE...

2001-08-07 Thread Tom Carter
will just cut the string off to fit without any warning). Have you tried doing a dump of $HTTP_POST_VARS and $HTTP_GET_VARS? HTH,Tom > i assume you mean your passing the variable as part of > the url...PHP_SELF?a=something (is this what your > doing) if so make sure you use > rawur

Re: [PHP] function into string

2001-08-07 Thread Tom Carter
Try readin the manual before posting.. all you want is the string concatenation operator . PHP is weakly typed so no direct conversion is needed echo "balalala " . trim(odbc_result($result_id,3)) . " aasasasas" > Sorry for the dummies question, but how do I insert into string like: > > echo "ba

[PHP] sample or tutorial for conditional pulldown menus

2001-08-07 Thread Tom Beidler
th the selected year and make. Some models even ask for a submodel. It's pretty cool but it's in ASP and lllwww. I was checking out Hotscripts and Devshed but didn't have any luck. Any info would be greatly appreciated. Thanks, Tom -- PHP General Mailing List (

Re: [PHP] Apache Directives

2001-08-08 Thread Tom Carter
What you are looking for isn't a php function, but a module in apache called mod_rewrite..this is usually installed in most apaches, if not can be done easily. so in the stie .htaccess (or indeed in the master conf) you would do something like RewriteEngine On RewriteRule ^/login/[a-zA-z0-9]* /l

Re: [PHP] IP security check

2001-08-08 Thread Tom Carter
Another point is to remember that each page request may come from a different IP address. For example, where I work in IBM, every out going connection goes from one of 30 or so boxes, each with their iwn IP, so in the process of browsing a site each request for a file can come from one of those I

[PHP] Non english european character conversion

2001-08-08 Thread Tom Carter
Hi All, I was wondering if there exists, either in PHP (I can't find anything) or something someone has written (again, my searches have been fruitless) to convert non-english european characters to the english equivalents eg å to a etc. TIA, Tom -- PHP General Mailing List

Re: [PHP] How to post unknown amount of data ?

2001-08-08 Thread Tom Carter
is not (well without comparing the variables to the db again).. so it is usually quicker just to update the whole.lot. HTH, Tom - Original Message - From: "vz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 08, 2001 12:00 PM Subject: [PHP] How to

Re: [PHP] PHP in corporate settings?

2001-08-09 Thread Tom Carter
In my experience Scandinavia (well nordic really, can't forget finland) and germany (and a few other european countries...notably not england) are much more open to open source (no pun intended) to open source and the like.. their concerns are sensible ones. Something in the mentality. northern am

[PHP] THIS REALLY DOES WORK.

2001-08-10 Thread Tom Hill
you ! ) This Works Like the National Lottery Except It's Much More Fun as you Are GUARANTEED to WIN ! Dear Friend. My name is Tom, in My 2000 my car was repossessed and debt collectors were hounding me like you would not be

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

2001-08-13 Thread Tom Henry
I interrupt the user after a set period of time Thanks for any/all clues for this one. Tom -- 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] cropping a string

2001-08-13 Thread Tom Carter
igh on impossible to make an *exact* function, all I'm looking for is something rough and ready which is better then counting chars. TIA, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] Re: cropping a string

2001-08-13 Thread Tom Carter
; } > > this function can defn be improved apon. all this does is trims the string > to the spec length and takes the last word (or pastial word) off. > > you might want to take a look at wordwrap() too, probably not what your > looking for though. > > -- > > Chris

[PHP] popen returns true whether script exists or not?

2001-08-14 Thread Tom Hodder
e expected response? this returns a process pointer even though bannerz.cgi doesn't exist I then need to read the results of the cgi script and dump them to the screen like so; but this is not functioning, does anyone have any ideas? Regards Tom Hodder -- PHP General Mai

Re: [PHP] Execute a PHP script from unix (crontab)

2001-08-15 Thread Tom Henry
-auth=userid:passwd httpd://mydomain.com/protected_dir//myphpscript.php > /dev/null Hope that helps, Tom Henry Reductor wrote: > do you mean perl?!? > - Original Message - > From: "Augusto Cesar Castoldi" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>

[PHP] PHP on client-side

2001-08-15 Thread Tom Malone
Script)? I know I can't be the first person to think about this, but I've searched and can't find anything about it. Any ideas/suggestions/resources? Tom Malone Web Designer http://www.tom-malone.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] PHP on client-side

2001-08-16 Thread Tom Malone
Script)? I know I can't be the first person to think about this, but I've searched and can't find anything about it. Any ideas/suggestions/resources? Tom Malone Web Designer http://www.tom-malone.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

<    5   6   7   8   9   10   11   12   13   14   >