Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~312 People Reached
Favorite Forums
Favorite Tags
Member Avatar for tom.vardy.12

Any ideas why the get variable after this .htaccess redirect is unobtainable? RewriteCond %{REQUEST_URI} !^/admin/editsale.php RewriteRule ^admin/editsale/(.*)$ /admin/editsale.php?reg=$1 [QSA,L] Many Thanks Tom

0
96
Member Avatar for tom.vardy.12

include '../../snippets/connect.php'; $orgid = $_GET['orgid']; if(!isset($orgid) || empty($orgid)){ die("Please select your image!"); }else{ $query = mysql_query("SELECT orghomepic FROM org_home_pic WHERE orgid='".$orgid."'"); $row = mysql_fetch_array($query); $content = $row['orghomepic']; if (empty($content)) { **$image = imagecreatefromjpeg('http://www.ineed.org.uk/dev/media/images/nohomepic.jpg'); header('Content-type: image/jpg'); imagejpeg($image);** } else { header('Content-type: image/jpg'); echo $content; } } So this was working previously …

Member Avatar for tom.vardy.12
0
216