[PHP] php parsing problem with chat

2002-06-24 Thread Deadsam
http://www.bludocks.com */ /*Modified by Deadsam at http://www.deadsam.com // added parsing for links and bad word filter */ ? ? $nickname = str_replace (\n, , $nickname); $nickname = str_replace (, , $nickname); $nickname = str_replace (, , $nickname); $nickname = stripslashes

[PHP] using cookies and flash problem

2002-05-12 Thread Deadsam
; } } else { //otherwise out no cookies print userStatus=you are not logged in; } ? In flash I used a loadVariableNum(http://www.deadsam.com/cookiescript.php;, this, POST); I keep getting errors with this. If anyone has an answer to this I'd appreciate it very much. Thank you in advance Deadsam

[PHP] need help with uploading images

2002-07-28 Thread Deadsam
I'm trying to get an uploader to work, where you check to make sure it's a jpeg file that's being uploaded, and no other files allowed. the server is unix linux using php4.1 Any help would be appreciated. thanks in advance deasdam -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] need help with uploading images

2002-07-28 Thread Deadsam
Thanks oscar I'll give this a go, I tried just using filetype != image/jpeg so mabey adding the rest will help , I read there was a problem with some browser with uploading hopfully this will solve the problem. much apprecatied Deadsam Oscar F [EMAIL PROTECTED] wrote in message 002001c23684

[PHP] Nope it didn't work :(

2002-07-28 Thread Deadsam
figure it out. Thanks Anyhow Deadsam if you come up with another method please let me know :) Oscar F [EMAIL PROTECTED] wrote in message 002001c23684$fc68ba20$bc00a8c0@320jupiter">news:002001c23684$fc68ba20$bc00a8c0@320jupiter... deadsman, if (($filename_type != image/jpeg) ($filen

[PHP] Re: need help with uploading images

2002-07-29 Thread Deadsam
maybe it would be easier to show you the part of code I'm using, echo $HTTP_POST_FILES['uploadFile']['size'] . ::. $HTTP_POST_FILES['uploadFile']['name']['type'] . ::; echo $HTTP_POST_FILES['uploadFile']['name'] . ::. $HTTP_POST_FILES['uploadFile']['tmp_name']; br */ ? ?php /** first check that

Re: [PHP] Re: need help with uploading images

2002-07-29 Thread Deadsam
This looks good but I just have one question about it if you don't mind, what if someone was uploading a gif or a PNG file? can it be made to only detect jpgs? Thanks in advance Deadsam Try it this way, it will check if it is a jpeg and it has a horizontal and vertical size so you can

Re: Re[2]: [PHP] Re: need help with uploading images

2002-07-30 Thread Deadsam
wow I like it :) thanks alot Tom you've been a big help and showed me something I never knew before also at the time Thanks to all who help me with this , it's very much appreciated Deadsam Tom Rogers [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED

[PHP] need help with a chat code problem

2002-08-29 Thread Deadsam
the smallest numberID rows in that table? as each one I want to delete will be the smallest ID number (as it grows with each message added to it). If tried to figure this out but so far no luck. If anyone can help me with this Id greatly appreciate it. Thanks in advance Deadsam -- PHP General

[PHP] need help figuring out how to delete rows?

2003-08-22 Thread Deadsam
a solution for this I would really appreciate it. Thanks in advance Deadsam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] need help figuring out how to delete rows?

2003-08-26 Thread Deadsam
Cool thanks I'll try it out :) Deadsam Marek Kilimajer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Actualy, it will not. LIMIT can have only one argument with DELETE. This will ($count is the number of rows you need to get in a previous query): DELETE FROM table ORDER