[PHP] FW: Help please!

2002-07-02 Thread Steve Vernon
Hello, I have a PHP script which gets data from a MySQL database and returns an image. So img src=getdata.php?id=3 returns the image of id 3 from the database. What I really want is to state width is 100 and height is 100 for example so I do not have to downlaod the entire picture and

RE: [PHP] FW: Help please!

2002-07-02 Thread Steve Vernon
No, I did think of it, but the page may end up with quite a few pics, and I download of a modem... Prefer if server has the load... Steve |-Original Message- |From: Lazor, Ed [mailto:[EMAIL PROTECTED]] |Sent: 02 July 2002 21:34 |To: '[EMAIL PROTECTED]'; [EMAIL

[PHP] Picture Cache

2002-07-04 Thread Steve Vernon
Hello, At the moment I have a PHP script which accesses a database, to get the data to return a picture. So the follwing url is actually a picture of type image/jpeg: getdata.php?id=6 So I can use: img src=getdata.php?id=6 Thats great and it works fine,

[PHP] Cookies help please

2002-12-06 Thread Steve Vernon
Hiya, Ive got a few websites that use sessions and I thought id upgrade them now to use cookies. In the main file it calls the session start function, and then this function is called, but it does not seem to work. I open a new window and the cookie does not seem to auto log me on. Sorry

Re: [PHP] Cookies help please

2002-12-06 Thread Steve Vernon
Thanks a million, must of had something else on my mind ;-) Love, Steve XX -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Looping through Form Elements in a form

2002-12-11 Thread Steve Vernon
Hiya, I am working on a generic JavaScript form checked, that takes the names of the elements, with the first two letters being the type of element, so its checks that it is right, if not gives a generic error message e.g. YOu Need To Fill this in and selects it, or Sorry only numbers are

[PHP] Image resize with database

2002-12-16 Thread Steve Vernon
(PHP 4.23, GD 1.6.2 or higher) Hiya, I have code to place the picture in a database, and I normally shrink it when the user requests a picture. What I would like it to change to is that it should shrink or expand the picture to be 300 pixels wide and then place it into the database. I thought

[PHP] JavaScript or browser detection

2002-12-19 Thread Steve Vernon
Hiya, I know it is probably out there somewhere, but I cannot find out a script to detect the browser. I have seen it, and I sorta remember how to do it, but I just can't find it! I have a script that adds nice features to my webpage, but if JavaScript is off the site still can be used.

[PHP] Images not stored in Databases

2002-12-24 Thread Steve Vernon
Hiya, I have had help from a very useful person on storing images in databases, and basically now I don't want to do this. But I may end up storing a lot of pictures, and don't want to mess around. Is there a script or class, that is as simple as storing in a database, that will handle

Re: [PHP] Images not stored in Databases

2002-12-24 Thread Steve Vernon
. Is that what you mean? Eddie -Original Message- From: Steve Vernon [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 24, 2002 8:57 AM To: [EMAIL PROTECTED] Subject: [PHP] Images not stored in Databases Hiya, I have had help from a very useful person on storing images in databases

[PHP] Newsletter using PHP and MySQL

2003-01-31 Thread Steve Vernon
Hiya, I have nearly finished a project I am working on, and completely forgot about having a newsletter service! Basically its a website, and on the registration page people opt in or out of the newsletter, and this is a field in the database. So either once a week, or randomly I want

[PHP] Threads in PHP? URL call from PHp?

2003-02-14 Thread Steve Vernon
Hiya, Perhaps I don't mean threads! Basically I have a PHP script which is in a website, and runs when a certain input is recieved and it is quite complicated, and may take quite a time to finish, as it will be sending quite a few emails. The emails do not have to be sent straight away,

Re: [PHP] Threading

2003-02-22 Thread Steve Vernon
Hiya Greg or anyone else! I realise that PHP does not have inherent thread support as yet. But is it possible to simulate threads? What I would like is for the user in a web site in a rare condition to cause a long script to be completed. Now as far as I can make out you can make it not

[PHP] Converting HMLT to Text in PHP

2003-03-13 Thread Steve Vernon
Hiya, I'm working on an email part of a site, normally I just send in text, but for this site I need to send HTML and text. Now I have made the HTML ones, that work fine. Is there a PHP way to convert this to a normal text file for the text emails? It dosent need to be that preety or

[PHP] Sessions

2002-10-05 Thread Steve Vernon
Hiya, Just upgraded to 4.2.3 and I am using the attatched PHP.ini file. I use sessions on my website, and they dont seem to work now after the upgrade. Just wondering which lines do I need to alter please? After I logon, they loose the session after choosing another page. Every page runs the

[PHP] Session 3

2002-10-08 Thread Steve Vernon
Sessions problems in 4.2.3, with register globals off Ok I got an email that gave me where some code was wrong, I said thanks and never tested it! Fixing the code it still dont work. SO I thought id make a simple code to test sessions, and that don't work. What am I doing wrong??!! The

Re: [PHP] Session 3

2002-10-08 Thread Steve Vernon
Solved it! Didn't add a temp directory for sessions! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] catching a robot or spider - asking too

2002-11-19 Thread Steve Vernon
From what I think I heard on another group was that it dosent matter what stylesheet you use, it will just read the file, getting words and following links. Cant remember where I read this, think it was a forum, and they were argueing about robots and whether they follow links specified in

[PHP] German Date - GMDATE Function

2003-10-22 Thread Steve Vernon
Hello, When I use the gmdate function, I get the English date, e.g. October. Is it possible to get the date in German or another language? I really need the server setting up so that it can handle different languages. I suppose I could get the month as a number, and then convert the number, but

[PHP] MP3 Ripping

2003-10-27 Thread Steve Vernon
(Windows 2k, Apache, PHP, MySQL, Large Computer with Raid Array and Big Drives!!!) (Appology if this is been asked before, but I couldnt see it) Hello, First of all I had better say I don't think I am doing anything illegal. I have over a thousand origional CD's, and would basically like not

Re: [PHP] MP3 Ripping

2003-10-27 Thread Steve Vernon
erythros and Burhan, Thanks for the reply. Basically I started putting my music into a program , and the program I did it on didn't like the amount of tracks (kept crashing), and didn't give me as many options as I would like. I'm not worried about a fancy interface and graphical displays of the

[PHP] Color / Colour on the command line

2003-10-29 Thread Steve Vernon
Hiya, I have quite a few maitenence php scripts I run on the command line in windows. I realise there are ways to alter the look of the DOS command prompt in windows. But if I reinstall windows, or use the script on another machine they will be lost. I'm thinking of letting users download it as

[PHP] COM and PHP.ini

2003-11-07 Thread Steve Vernon
(PHP 4.3.0, Windows XP Pro, Office 2000 Pro) Hello, Just playing around with COM, and I got the error below. Searching on google it mentions something about a DLL error. Iv'e enabled dcom in php.ini. What have I missed! Line 2 says $excel = new COM(Excel.Application) or die(Excel could not

[PHP] Max Upload FIle Size

2003-12-05 Thread Steve Vernon
Hello, I have search google, and PHP but I cannot find properly how to set the maximum post upload size as 200Kb? Do I use 200K or 200KB for post_max_size? THANKS Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] File Handing Windows / Linux

2004-11-14 Thread Steve Vernon
Hiya! I am trying to make some code which gets a handle to a directory, but has different code for my localhost (Windows) and for online (Linux server). Basically, I want either of the below lines. Say if the first fails, it must be on Linux and then it uses the line below. The two example

[PHP] Snyc Outlook Calendar with Website

2004-12-05 Thread Steve Vernon
Hiya, Any help or advice would be great. At the moment I sync my mobile with my computer (Microsoft Outlook), with all my tasks and calendar entries. I have made a PHP website with my own coded calendar system. The entries in the calendar are stored in a MySQL database. At the moment every day