Jump to content

src an image in linux


oceans

Recommended Posts

Dear friends,

 

I was testing my codes in wamp, noe I am moving to linux.

I did the following in WAMP

echo "<img src=\"../Photos/Photos/Photos/".$Number."/1.JPG\" width=\"300\" height=\"300\">";

it worked but it is not working in Linux, can any one help me to reprase to suite linux, thanks.

Link to comment
Share on other sites

the respective folders are named exectly as you see, do you want me to call like this

 

echo "<img src=\"../photos/photos/photos/".$Number."/1.JPG\" width=\"300\" height=\"300\">";

 

I can try, but are my "punctuations" correct, this works fine in my WAMP

Link to comment
Share on other sites

Redarrow,

 

Thanks for your hand ;)

 

I have a page,

 

This page works perfect in WAMP5 (my home pc), the same page does not does this work in (web server)(linux, php5.x mysql5.x)

 

Quite confusing!

 

Further, I could not do any file or folder operations like rename, delete, mkdir in my linux server, but all are perfect in my WAMP. (these operations are in other pages)

 

thus if we can get over with this src, I will be able to figure out with the other difficult ones from here..

 

Thanks friend.

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.