imagejpeg filepath



Hi, the php file that uses imagejpeg is in a sub-directory e.g.
'www.sub.something.com' and i want to create the image in the root
directory e.g. 'www.something.com'. Iv tried putting
'http://www.somthing.com/file.jpg' and '//www.somthing.com/file.jpg' as
the filename but it doesnt create the image. however if i try to create
in sub directory it works.

Please help.
thanks

.



Relevant Pages

  • Re: [PHP] Problem with file reading
    ... I'm using apache server on my PC for practicing and the file is located in the servers root folder on the subfolder "test_folder". ... If your PHP file is in a folder named code in the root, ...
    (php.general)
  • Runtime Error
    ... I have created two different ASP.NET applications and placed one in the root ... and another one in a sub-directory. ... Then I have deployed them to the server of a Web Hosting provider. ... details of this specific error on my local (remote) machine. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Size of /home partition
    ... Darius wrote: ... sub-directory in /home (as super user), ... You're getting differences between root and user because the 'cd $HOME' ...
    (comp.os.linux.misc)
  • Re: 5.0 install problem; runs functions, but no output to web page
    ... to web pages seems to fail - refuses to even load a php file from the web ... Your posting resembles the famous call to carmechanic: ...
    (php.general)
  • Re: A direct url within an include
    ... directory as the PHP file containing the include statement. ... define a constant that points to the physical path to the application ... root, which would allow you to do something like the following: ... //in constants.php included into all page requests ...
    (comp.lang.php)