TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 01-11-2010, 01:48 PM   #1 (permalink)
The Visitor
Newcomer 
 
Join Date: Jan 2010
Posts: 1
Thanks: 0
babyrats is on a distinguished road
Default Getting img urls from a large string

First a big hi to everyone at talkphp.com. And a warning, I am pretty new to coding, with only a months worth of php studying. So please if you are able to answer, dumb it down like you are talking to a baby.

I am making a review site (to learn) where users can submit their own reviews. If they put a image into a textbox the image URL gets sent to resize.php with the image url in querystring.

All the review is held in $review and I was wondering if there is a way for me to grab all URLs in that variable before getting resized so I can also make the resized image a link.

E.G <a href="link_to_original.jpg"><img src="resizedImage.jpg" /></a>


If this is a awful explanation please tell me and I will try to re-write it. Always have been bad at explaining *sigh*
babyrats is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing Lenght of a string in Javascript with jQuery EyeDentify Javascript, AJAX, E4X 4 09-23-2009 10:00 PM
who can tell me why? kuigg Absolute Beginners 9 12-02-2008 02:14 AM
array elements into variables and values Dave Absolute Beginners 7 06-20-2008 01:56 PM
Quicker String Verification Jay Tips & Tricks 16 12-30-2007 01:47 PM
Notepage like application to open large MySQL files Wildhoney General 6 12-07-2007 02:18 PM


All times are GMT. The time now is 01:00 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design