PHP Upload Problem (urgent)

Discussion of programming on Linux, including shell scripting, perl, python, c/c++, mono, java. Whatever tickles your fancy.

PHP Upload Problem (urgent)

Postby amkali » Sat Aug 07, 2004 12:44 pm

Hey guys !

I am making a website and i need to upload images .... i know how to do it ... but i am facing a big problem.... I DO NOT HAVE THE RIGHTS TO THE uploadtmp DIRECTORY .... and the hosting service is not giving me the right (offcourse they will not).... so is there a work aroud for that ... i have searched the internet but found nothing... please response as quick as possible ..


_________________
God s gr8
Life s Good
Linux s Kool
amkali
Lance Naik
 
Posts: 33
Joined: Sat Aug 03, 2002 9:53 pm
Location: Lahore, Pakistan

Postby outhanger » Sun Aug 08, 2004 3:24 am

In other words, "Show me how to hack so I can show off to my friends."
"Where blasphemy is a crime, religious freedom does not exist." - Stallman to Musharraf
outhanger
Battalion Quarter Master Havaldaar
 
Posts: 214
Joined: Sun Apr 18, 2004 5:58 pm
Location: CEME, Pindi

Postby amkali » Mon Aug 09, 2004 10:05 am

Salam!

Not really, actually I presented the problem to the hosting service and they said that their PHP settings allow us to upload the images but not in this way the programmar have to OVERLOAD the PHP.INI settings for his site. And i dont know .... secondly i am not a hacker and i am not in that kinda stuff ... thirdly i dont wanna show off no one i work and this problem arised at my job ... So any one knows how can i do it ??



______________
God s Gr8
Life s Good
Linux s Kool
amkali
Lance Naik
 
Posts: 33
Joined: Sat Aug 03, 2002 9:53 pm
Location: Lahore, Pakistan

Postby tahseenali » Mon Aug 09, 2004 11:52 am

Hello
Why r they not allowding they should...Ok what control panel they use ...
tahseenali
Cadet
 
Posts: 4
Joined: Tue Aug 03, 2004 8:54 am
Website: http://www.ztfwebtek.com
WLM: tahseenvs
Yahoo Messenger: tahseenvs
Location: Vill: Wattar, PO: Akkorra Khattak, Nowshera.

Postby kadnan » Mon Aug 30, 2004 11:32 pm

I dont understand why you want to alter php.ini file for uploading Images?
All you need to give rights to folder so that you can write(upload) files in it.
if you dont have access to create folders,you can`t do anything...
kadnan
Battalion Quarter Master Havaldaar
 
Posts: 208
Joined: Wed Aug 07, 2002 8:00 pm
ICQ: 12940796
Location: Karachi,Pakistan

Postby lambda » Tue Aug 31, 2004 1:00 pm

amkali wrote:Not really, actually I presented the problem to the hosting service and they said that their PHP settings allow us to upload the images but not in this way the programmar have to OVERLOAD the PHP.INI settings for his site.


so, ask them for the settings.

maybe you need to do

Code: Select all

ini_set("upload_tmp_dir", "/tmp");
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore


Return to “%s” Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron