Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Design Forum > Web Serving and Management
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Web Serving and Management how to web server support forum

Reply
 
LinkBack Thread Tools
Old 10-15-2007, 12:57 AM   #1 (permalink)
Registered User
 
Join Date: Aug 2006
Posts: 58
OS: WinXP


cant access url images in php. apache, linux setup

hello everyone..

i am using an apache web server on a linux environment ,to deploy my php program. my problem is that i cant access images from another web server in my php code. ive been in other forums but they said that there is nothing wrong with my php code and its configuration.

i always get an access denied error when i try to access the file in php... but i can ping the hostname in linux.

pls help me on this. i really need your help.

thanks a lot.
__________________
--x--x-- if you can't be the sun, be a star --x--x--
whirlpool6 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 10-22-2007, 05:34 PM   #2 (permalink)
Registered User
 
Join Date: Aug 2006
Posts: 142
OS: WinXP Pro


Re: cant access url images in php. apache, linux setup

Quote:
Originally Posted by whirlpool6 View Post
hello everyone..

i am using an apache web server on a linux environment ,to deploy my php program. my problem is that i cant access images from another web server in my php code. ive been in other forums but they said that there is nothing wrong with my php code and its configuration.

i always get an access denied error when i try to access the file in php... but i can ping the hostname in linux.

pls help me on this. i really need your help.

thanks a lot.
Never had this issue but if it were me, the first thing I would do is check my permissions in the Public and Sub Folders as well. I think 'CHMOD 777' grants permission to all. I know I could check but I'm kinda in a hurry right now. So check the permission settings on your folders, change them to 777 or whatever, refresh and try it again.

I'll check back in about 2 hrs .. good luck
__________________
The Source Code and a good Terminology Reference Book can be the greatest Programming Instructor you'll ever find ...
Did you know Windows Notepad, Microsoft Word or any Text Rendering & Editing Program is all you need to build Web Pages?
BluBarry is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-22-2007, 07:26 PM   #3 (permalink)
Manager, Design
 
ebackhus's Avatar
 
Join Date: Apr 2005
Location: SATX
Posts: 14,243
OS: WinXP Pro SP3/Windows 7 RTM

My System

Blog Entries: 28
Send a message via ICQ to ebackhus Send a message via AIM to ebackhus Send a message via MSN to ebackhus Send a message via Yahoo to ebackhus Send a message via Skype™ to ebackhus
Re: cant access url images in php. apache, linux setup

Agreed. Chane the permissions to 777 and you should be ok.
__________________


-----------------------------
There are no dumb questions, unless a customer is asking them.

Help in the fight against cancer and other serious illnesses.
ebackhus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-22-2007, 07:36 PM   #4 (permalink)
Registered User
 
Join Date: Aug 2006
Posts: 58
OS: WinXP


Re: cant access url images in php. apache, linux setup

i have just found out that this other webserver is in IIS...
__________________
--x--x-- if you can't be the sun, be a star --x--x--
whirlpool6 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-22-2007, 10:43 PM   #5 (permalink)
Manager, Design
 
ebackhus's Avatar
 
Join Date: Apr 2005
Location: SATX
Posts: 14,243
OS: WinXP Pro SP3/Windows 7 RTM

My System

Blog Entries: 28
Send a message via ICQ to ebackhus Send a message via AIM to ebackhus Send a message via MSN to ebackhus Send a message via Yahoo to ebackhus Send a message via Skype™ to ebackhus
Re: cant access url images in php. apache, linux setup

Can you FTP in? You can use your FTP client to CHMOD.
__________________


-----------------------------
There are no dumb questions, unless a customer is asking them.

Help in the fight against cancer and other serious illnesses.
ebackhus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-23-2007, 08:05 PM   #6 (permalink)
Registered User
 
Join Date: Aug 2006
Posts: 58
OS: WinXP


Re: cant access url images in php. apache, linux setup

nopes... i have contacted the administrator for the iis server. but still its my say on what to do with their files... they sure dont want to give access to all... what can i do....
__________________
--x--x-- if you can't be the sun, be a star --x--x--
whirlpool6 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-24-2007, 08:01 AM   #7 (permalink)
Registered User
 
Join Date: Aug 2006
Posts: 142
OS: WinXP Pro


Re: cant access url images in php. apache, linux setup

Quote:
Originally Posted by whirlpool6 View Post
nopes... i have contacted the administrator for the iis server. but still its my say on what to do with their files... they sure dont want to give access to all... what can i do....
What program (application) are you using for your FTP?

I generally use WS_FTP Pro although I'm not necessarily recommending it.

You can use a number of methods including your I.E. by simple typing in ftp.mysite.com(net) in the address field. You might get a message stating blah blah is your Default FTP Program, do you wish to use that and you select NO.

And if your created your php files in DW for instance, you can also use DW as your FTP protocol. So to conclude .. all of the following are available to transfer files. I'd try whatever you're not currently working with.

Reason: Recently while attempting to Edit one of my pages via the Hosting site's vDeck, I was unable to. However using WS_FTP I was able to get in and make the changes I needed.
__________________
The Source Code and a good Terminology Reference Book can be the greatest Programming Instructor you'll ever find ...
Did you know Windows Notepad, Microsoft Word or any Text Rendering & Editing Program is all you need to build Web Pages?
BluBarry is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 12:55 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85