[PHP] AS A MATTER OF INTEREST

2002-09-28 Thread Georgie Casey
Can you fake IP addresses and referer addresses with the PHP header command. I want to contact a remote php script and not have my page as the referer or ip address. Is this possible with sockets or even just fopen()? -- Regards, Georgie Casey [EMAIL PROTECTED] *** http

[PHP] JAVASCRIPT INCLUDES

2002-09-22 Thread Georgie Casey
In HTML, you can do this: script language=JavaScript src=http://localhost/top_stuff.php?affiliate=1;/script But the script isn't executed before being used by the browser, it's returned with PHP tags and all, which obviously gives JS errors. Is there any setting you can change in Apache that

Re: [PHP] JAVASCRIPT INCLUDES

2002-09-22 Thread Georgie Casey
ot being processed and instead are just displayed in the browser, then your Web server is not configured to process PHP. Happy hacking. Chris Georgie Casey wrote: In HTML, you can do this: script language=JavaScript src=http://localhost/top_stuff.php?affiliate=1;/script But the script isn't

[PHP] Re: JAVASCRIPT INCLUDES

2002-09-22 Thread Georgie Casey
Solved the problem. In case anyones wondering, I had the PHP script starting with a script and ending with /script when I already had that done in the HTML page. Simple Georgie Casey [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... In HTML, yo

[PHP] ERROR

2002-09-21 Thread Georgie Casey
of these could be to blame. So my question is, does PHP return this error when some loops aren;t closed?? -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Online Film Production Directory *** -- PHP General Mailing List (http

[PHP] Variables Case Sensitivity??

2002-09-19 Thread Georgie Casey
is there any way to make variables NOT case sensitive?? A partner is posting information to one of my PHP scripts and cant gurantee that variables passed will be lowercase -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Variables Case Sensitivity??

2002-09-19 Thread Georgie Casey
s:[EMAIL PROTECTED]... Georgie Casey wrote: is there any way to make variables NOT case sensitive?? A partner is posting information to one of my PHP scripts and cant gurantee that variables passed will be lowercase Sure, whatever you use make it lower case, whataever he send, cook to lo

[PHP] Writing Files

2002-08-30 Thread Georgie Casey
How do you write files so that theyre chmoded 777 by default. the folders theyre written to are 0777 but the files aren't. so i cant delete or modify the files through PHP, i have to first chmod them with FTP, which takes ages. -- Regards, Georgie Casey [EMAIL PROTECTED

[PHP] Security Permissions

2002-08-30 Thread Georgie Casey
before on my host, i could make directories and write files in PHP. now i cant. my host removed frontpage extensions in the meantime, could they be what allow me? or do they have nothing to do with it -- Regards, Georgie Casey [EMAIL PROTECTED] *** http

[PHP] FUNCTIONS

2002-08-19 Thread Georgie Casey
i wrote a function do write a file for me on info taken from a db, and wrote a script with a for loop going through every row in the db, and calling the function. so the function is called about 200 times. but i'm getting weird results, the files are corrupted. its grand when i just go one at a

Re: [PHP] FUNCTIONS

2002-08-19 Thread Georgie Casey
variable); OR $variable = ; Either will do. ~ Matthew -Original Message- From: Georgie Casey [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 10:30 AM To: [EMAIL PROTECTED] Subject: [PHP] FUNCTIONS i wrote a function do write a file for me on info taken from a db, and wrote

Re: [PHP] FUNCTIONS

2002-08-19 Thread Georgie Casey
its supposed to write a MIDI file from some music notes, the start of the MIDI file is grand but the end has some of the MIDI from the next database record! Jay Blanchard [EMAIL PROTECTED] wrote in message

[PHP] error reporting

2002-08-14 Thread Georgie Casey
rite, without access to the php.ini file, how can i get php to print all errors on my web server. it runs linux -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Online Film Production Directory *** -- PHP General Mailing

[PHP] Mkdir!

2002-08-04 Thread Georgie Casey
When I create directories in PHP through the mkdir() command, what number should I set the mode so I have the priveleges to delete the directory through FTP? I used to always set them to 777 but then when I try to delete the directories in FTP, it doesnt let me, and I have to write a PHP script

[PHP] Auto Increment Problems....

2002-07-29 Thread Georgie Casey
rite, my primary key column (id) is set to auto_increment as usual which is very handy. But when I delete a row, the auto_increment just keeps incrementing and there's this 'hole' left where I deleted the row! Apart from this looking ugly, it poses another problem. In my PHP script where I can

[PHP] ORDER BY from 2 tables

2002-07-29 Thread Georgie Casey
i assume this is a simple question... how can I SELECT * FROM 2 different tables in the same query, ORDER BYing the 'hits' column, which both tables have. eg, 2 tables i have are similiar and i want to merge them and then select everything ordering by hits -- PHP General Mailing List

[PHP] another problem

2002-07-22 Thread Georgie Casey
well, i solved the last problem on my own but now i need help on my new one :-) how do you convert text to hexadecimal with PHP? -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Online Film Production Directory

[PHP] Hex Help Please...

2002-07-21 Thread Georgie Casey
Rite, There's a PHP script that takes a monochrome BMP and converts it into some sort of hex code and I've noticed some patterns with this code. This image is 72 pixels wide by 14 high so there's 1008 pixels. In the code returned, theres 252 chars, which is 1008 divided by 4. So I guessed the

[PHP] Re: Hex Help Please...

2002-07-21 Thread Georgie Casey
OK, i thought I found my solution but... How come if I convert from 1000 from Binary to Hex in calculator, it returns 8, but when I use the PHP bin2hex function, it returns loads of 3s and 0s Georgie Casey [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL P

[PHP] Searching...

2002-07-18 Thread Georgie Casey
know of? or does the 2 queries not mka emuch of a difference -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Online Film Production Directory *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Emulating HTTP File Uploads

2002-06-21 Thread Georgie Casey
Does anyone know how to upload a file through PHP through the HTT interface. I use fopen() to open remote php scripts using the GET method for non-file uploads but it doesnt work with HTTP POST or file uploads. Does anyone have any ideas? -- Regards, Georgie Casey [EMAIL PROTECTED

[PHP] safe scripting

2002-06-12 Thread Georgie Casey
How do i setup safe mode scripting (each script has a different uid) on my win32, apache, php setup? my plesk host has to use it and i want to be able to test my scripts on my own computer. i set safe mode = On in my php.ini file but the script still lets me include a file, whereas the script on

[PHP] SAFE MODE

2002-06-10 Thread Georgie Casey
How do i setup safe mode scripting (each script has a different uid) on my win32, apache, php setup? my plesk host has to use it and i want to be able to test my scripts on my own computer. i set safe mode = On in my php.ini file but the script still lets me include a file, whereas the script on

[PHP] Simulating a FORM POST thing (HELP!)

2002-05-26 Thread Georgie Casey
Rite, when you see a web form, you know you can simulate the submit by filling in the values in the address field, just like a GET method, and it usually works the exact same. But how do you do it when one of the fields in the form is a file upload?!?!?! For the record, its a GIF file you've to

[PHP] Re: Simulating a FORM POST thing (HELP!)

2002-05-26 Thread Georgie Casey
>news:[EMAIL PROTECTED]... ?PHP $im = createfrombmp(image); print FORM METHOD=\post\ ACTION=\actionpage.php\; print INPUT TYPE=\hidden\ NAME=\image\ VALUE=\$im\; ? you get the idea I think PHP does have other funtions for file uplading though. Georgie Casey [EMAIL PROTECTED] wrote in message

[PHP] Re: Simulating a FORM POST thing (HELP!)

2002-05-26 Thread Georgie Casey
d to use createfrombmp() not createfromwbmp() Georgie Casey [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... i'm getting an error message saying my BMP file i'm trying to convert isnt a valid WBMP file? is dere a difference between BMP and WBMP? I just opene

[PHP] WAP

2002-04-20 Thread Georgie Casey
How do I configure my Win98 Apache/MySQL/PHP test server to be able to show me WAP pages. I followed a tutorial on PHPBuilder but when I test pages with my WAP emulator, it returns a empty page error. Does anyone know any other web links for configuring to WAP, especially for WIN32 -- PHP

[PHP] HELP! Errors!

2002-04-08 Thread Georgie Casey
descriptor Warning: Supplied argument is not a valid File-Handle resource in it works fine when testing on my win32 apache with php WHY AM I GETTING AN ERROR? -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Online Film Production Directory

[PHP] HELP!

2002-04-06 Thread Georgie Casey
be viewed in the source HTML -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Online Film Production Directory *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Getting my host to implement CURL

2002-04-05 Thread Georgie Casey
Would it be hard? Like, is it a lot of work for them and/or a security risk? -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Online Film Production Directory *** -- PHP General Mailing List (http://www.php.net

[PHP] PEAR

2002-04-03 Thread Georgie Casey
is automatically installed with php4 but i cant seem to find it. -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Online Film Production Directory *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Re: [PEAR] PEAR

2002-04-03 Thread Georgie Casey
dont have to ask the admin to do anyhting for me? Martin Jansen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... On Wed, 3 Apr 2002 20:12:46 +0100, Georgie Casey wrote: The sites documentation is crap compared to PHP. I love to hear people critizing constructively. what

[PHP] post request

2002-04-03 Thread Georgie Casey
. can any1 shed some light? -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Online Film Production Directory *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Exec command problems

2002-03-30 Thread Georgie Casey
and then get the program to open this text file and yes, i closed the file before trying to exec the program -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Online Film Production Directory *** -- PHP General Mailing List

Re: [PHP] DHTML Trouble please help

2002-03-14 Thread Georgie Casey
fix ure clock!! Erik Price [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Saturday, March 13, 2010, at 10:15 PM, Jennifer Downey wrote: I am no DHTML expert and don't even know the language also didn't know where to post this. But after today I am

[PHP] Random Selecting from mySQL

2002-03-13 Thread Georgie Casey
a way round this? -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Ireland's Online Film Production Directory *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] COOKIES QUESTION

2002-03-13 Thread Georgie Casey
do you have to delete cookies on the same level (directory) you created them? coz mine dont seem to be deleting -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Ireland's Online Film Production Directory *** -- PHP

[PHP] Re: [PHP-DB] Random Selecting from mySQL

2002-03-13 Thread Georgie Casey
-- From: Georgie Casey [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 2:00 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP-DB] Random Selecting from mySQL I know how to use the ORDER BY rand() command on the end of queries to randomize selection, but that's no good when

[PHP] phpAdsNew

2002-03-03 Thread Georgie Casey
I'm getting loads of undefined variable errors with this script any1 know why? -- PHP General Mailing List (http://wwwphpnet/) To unsubscribe, visit: http://wwwphpnet/unsubphp

[PHP] phpAdsNEW HELP!!!!

2002-03-03 Thread Georgie Casey
loads of these errors. The script is unusable because of all the errors. Does anyone know what the problem is? Could it be something to do with magic_quotes or something?? TIA -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Ireland's Online Film

Re: [PHP] phpAdsNew

2002-03-03 Thread Georgie Casey
no, registerglobals has nothing to do with it Dl Neil [EMAIL PROTECTED] wrote in message 158e01c1c2fc$57b0db80$c200a8c0@jrbrown..">news:158e01c1c2fc$57b0db80$c200a8c0@jrbrown..; Georgie, I'm getting loads of undefined variable errors with this script. any1 know why? You're using a

Re: [PHP] the date90 fucntions gone haywire!

2002-03-01 Thread Georgie Casey
the time stamp i'm giving its perfect! i echoed some already and there's no problem. i'm using the code: $time = date(d-m-y, $timestamp); the £timestamp i'm feeding its is perfect, with the year first, then month, date, etc... Dl Neil [EMAIL PROTECTED] wrote in message

[PHP] the date90 fucntions gone haywire!

2002-02-28 Thread Georgie Casey
The date() function is returning the 19th of Januray 2038 as *ALL* dates no matter what timestamp i feed it! whats goin on?? -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Ireland's Online Film Production Directory

[PHP] Uploading Files through PHP

2002-02-27 Thread Georgie Casey
?? -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Ireland's Online Film Production Directory *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problems with Cookies

2002-02-16 Thread Georgie Casey
Rite, a user logs in at http://localhost/employers/login.php and PHP sets a cookie, eusername, that has his username, funnily enough. then he clicks on to the /employers/search.php, submits his query and clicks on the page of http://localhost/freelancers/some_guy/index.php When I have a bit of

[PHP] Re: Problems with Cookies

2002-02-16 Thread Georgie Casey
email me if you dont understand something about my question. I read it back to myself, and it all sounds so complicated! TIA Georgie Casey [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Rite, a user logs in at http://localhost/employers/login.php and

Re: [PHP] A MYSQL COUNTER

2002-02-12 Thread Georgie Casey
se grep/awk/sed/perl/php to search for specific users with their page hits, etc. Define your requirements more explicitly, then choose a solution. -Original Message- From: Matthew Walker [mailto:[EMAIL PROTECTED]] Sent: Monday, February 11, 2002 6:39 PM To: Georgie Casey; [EMAIL P

Re: [PHP] A MYSQL COUNTER

2002-02-12 Thread Georgie Casey
-- From: Georgie Casey [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 11:00 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] A MYSQL COUNTER whenever they're is a new unique visitor, I want a script to email the member about who visited. And have a permanent record for each member of who

[PHP] Search Page

2002-02-08 Thread Georgie Casey
, then cancel that query and query again with a LIMIT tag on the end to display the first 10 results. Is there a more efficient way of doing what I'm trying to do? I coded it myself so its probably poor, design-wise. Am I going about it the right way? -- Regards, Georgie Casey [EMAIL PROTECTED

[PHP] Re: Writing PHP files from inside a PHP file

2002-02-07 Thread Georgie Casey
ike what you're looking for. (I.e. storing PHP code in a database, right?) J Georgie Casey wrote: I want to extract information from a database table and create a half-static, half-dynamic PHP page from the info. I want to store the template for the new page in an external file w

[PHP] Writing PHP files from inside a PHP file

2002-02-06 Thread Georgie Casey
but that just printed ? echo $variable; ? to the static page instead of replacing it with the value. Any suggestions? -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Ireland's Online Film Production Directory *** -- PHP

[PHP] Check Boxes and updating records. (HELP ME....)

2002-02-01 Thread Georgie Casey
OK, I've a page for my users to sign up on my website and in the form, there's a few checkboxes fields. So I set the name of the check boxes as name[] and PHP made an array of all the options choosen. All the check boxes values are numbers, so I got all the numbers from the array, put a comma

[PHP] Tar and GZIP functions

2001-10-05 Thread Georgie Casey
I want users to be able to select files from a folder and then a php script would wrap em up in a tar file. Can zlib funtions do this? the files are small gifs, if that helps tia -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Ireland's Online

[PHP] MySQL question

2001-10-05 Thread Georgie Casey
I have a table set as auto_update for the primary ID field, but sometimes the PHP script adds fields which don't fill up all of the ID numbers, as I delete a few records manually. is there any way to ensure all primary id field nos. are filled up is this a potential problem -- Regards, Georgie