Jump to content

**SOLVED** Strings


0p3n_p0rT

Recommended Posts

Hey, I have something along the lines of this:
<?
$string = "

<html>
<title>sitename</title>
<FRAMESET ROWS="*,0" COLS="100%" border="0">
<FRAME SRC="do.php?d=XQE2VILT&l=en" noresize>
<FRAME SRC="s.php" noresize scrolling="no">
</FRAMESET>

</html>";
?>

And I want to extract just the "do.php?d=XQE2VILT&l=en" part. However, the querystring is random, and the length of this this may differ. I have tried various substr, strchr, etc. etc. and cannot extract that certain bit.

Can anybody help?

Thanks,
0p3n_p0rt.
Link to comment
https://forums.phpfreaks.com/topic/4088-solved-strings/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.