[PHP] image uploads - part 2

2004-11-06 Thread Jaskirat Singh
Thanks Robby Russell, Jason Wong , Greg Donald, raditha dissanayak and every one else who answered part 1 of my email concerning image uploads. It was about where to store images uploaded by website users and question was database vs filesystem and dedicated vs shared hosting and the conclusion

[PHP] image uploads - part 2

2004-11-06 Thread Jaskirat Singh
Thanks Robby Russell, Jason Wong , Greg Donald, raditha dissanayak and every one else who answered part 1 of my email concerning image uploads. It was about where to store images uploaded by website users and question was database vs filesystem and dedicated vs shared hosting and the conclusion

[PHP] image files - upload and managment

2004-10-30 Thread Jaskirat Singh
Hi People, I am writing a web app on LAMP. The app is sort of yellow pages where people can login and post advertisments with pictures. App needs to allow users to upload pictures. (jpg and gif), needs to create thumbnails of those pictures and to store thumbnails and full pictures. App needs to

[PHP] Data management tool

2004-07-27 Thread Jaskirat Singh
Hi Everyone, I am looking for a tool that lets me do simple data managment ie. edit,update,insert and delete records in tables of a database. I am kinda fed up of writing those php scripts for back ends of websites over and over :). I am looking for some thing generic to replace that if possible.

[PHP] php training tips

2004-07-07 Thread Jaskirat Singh
Hello, I am a PHP coder for the last 4 years doing mostly PHP MySQL stuff. Off late I have been requested by a number of programmers and students to teach PHP. I am wondering how different teaching is from coding and how to design the contents of a 1-2 week training course. I am planning to begin w

[PHP] Re: Re: sessions getting destroyed for *Some* clients

2004-04-20 Thread Jaskirat Singh
I do not think it is the server name issue. I used www.original-remote-control.co.uk for testing ..and I have done that scores of times now :) .. I do not use setcookie .. I just call session_start() in the beginning to set the cookie for session. Jas -- Make sure it's no

[PHP] sessions getting destroyed for *Some* clients

2004-04-19 Thread Jaskirat Singh
Hi Guys, I have some thing weird happening with sessions here. They are getting destroyed/reset for *SOME* clients. I wrote a shopping cart which obviously needs sessions to work. It works perfectly fine on my development server .. but when I move it to my production server it starts behaving stra

Re: [PHP] Get "nice" variables from POST

2004-03-12 Thread Jaskirat Singh
>if (is_array($_POST)) { > foreach($_POST as $name=>$value) { > ${$name} = $value; > } >} or use this if (is_array($_POST)) { extract($_POST); } Jaski __ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com -- PHP Gen

Re: [PHP] Php page runs from one computer but not another

2002-08-19 Thread Jaskirat Singh
Hi, "I can run the same page on the machine with the problem if I simply rename it." If you could tell what the name was when it didn't work and what when it worked. If by rename you mean change of extension like say from php3 to php then it indicates that apache config file (I am not sure f