Hi,Currently I'm using this tutorial : Click Here

but the output is /home/xxx.com/public_html/images/image/1234.jpg

How can I change the path to /images/image/1234.jpg ? Please help me ><

Recommended Answers

Since the start is always constant, I suggest you store it in a variable and then you can just do a str_replace

Jump to Post

All 2 Replies

Since the start is always constant, I suggest you store it in a variable and then you can just do a str_replace

good idea! you solve my question mr pritaeas

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.