Click here to Skip to main content
15,888,047 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Web Service Vs. Direction connection to a database. Pin
Shog922-Apr-08 9:18
sitebuilderShog922-Apr-08 9:18 
QuestionHow to compress or Zip a file by in Asp Classic Pin
Kiran S. S.22-Apr-08 1:36
Kiran S. S.22-Apr-08 1:36 
QuestionRe: How to compress or Zip a file by in Asp Classic Pin
Shog922-Apr-08 9:19
sitebuilderShog922-Apr-08 9:19 
GeneralRe: How to compress or Zip a file by in Asp Classic Pin
Christian Graus22-Apr-08 12:46
protectorChristian Graus22-Apr-08 12:46 
GeneralRe: How to compress or Zip a file by in Asp Classic Pin
Vasudevan Deepak Kumar23-Apr-08 21:49
Vasudevan Deepak Kumar23-Apr-08 21:49 
Questionusing ajax in javascript and retrieving data from database using servlet Pin
sound_ms21-Apr-08 21:29
sound_ms21-Apr-08 21:29 
GeneralRe: using ajax in javascript and retrieving data from database using servlet Pin
Bradml22-Apr-08 2:23
Bradml22-Apr-08 2:23 
AnswerRe: using ajax in javascript and retrieving data from database using servlet Pin
Shog922-Apr-08 9:19
sitebuilderShog922-Apr-08 9:19 
GeneralWebsite maintainence with CMS Pin
ASPnoob21-Apr-08 18:20
ASPnoob21-Apr-08 18:20 
GeneralRe: Website maintainence with CMS Pin
Bradml22-Apr-08 2:23
Bradml22-Apr-08 2:23 
GeneralRe: Website maintainence with CMS Pin
lbothell22-Apr-08 6:28
lbothell22-Apr-08 6:28 
GeneralPlesk Problem Pin
aj.esler21-Apr-08 17:55
aj.esler21-Apr-08 17:55 
GeneralRe: Plesk Problem Pin
Bradml22-Apr-08 1:17
Bradml22-Apr-08 1:17 
GeneralRe: Plesk Problem Pin
aj.esler22-Apr-08 13:07
aj.esler22-Apr-08 13:07 
News.NET 3.5 Enhanced Training Kit now in CTP Pin
brucedkyle21-Apr-08 14:19
brucedkyle21-Apr-08 14:19 
GeneralPHP file_exists being blind? [modified] Pin
Quiltfish21-Apr-08 9:19
Quiltfish21-Apr-08 9:19 
GeneralRe: PHP file_exists being blind? Pin
Christian Graus21-Apr-08 14:36
protectorChristian Graus21-Apr-08 14:36 
GeneralRe: PHP file_exists being blind? Pin
Quiltfish21-Apr-08 19:53
Quiltfish21-Apr-08 19:53 
GeneralRe: PHP file_exists being blind? Pin
Vasudevan Deepak Kumar23-Apr-08 21:55
Vasudevan Deepak Kumar23-Apr-08 21:55 
GeneralRe: PHP file_exists being blind? Pin
Bradml22-Apr-08 1:15
Bradml22-Apr-08 1:15 
GeneralRe: PHP file_exists being blind? Pin
markkuk21-Apr-08 22:23
markkuk21-Apr-08 22:23 
GeneralRe: PHP file_exists being blind? Pin
Bradml22-Apr-08 1:15
Bradml22-Apr-08 1:15 
GeneralRe: PHP file_exists being blind? Pin
Quiltfish22-Apr-08 11:36
Quiltfish22-Apr-08 11:36 
Ack! So simple and yet.. Hehe, thanks everyone who replied!
finished snippet:
<code>$FSFriendlyTitle = str_replace(':','-',$VMRow['Title']);
$FSFriendlyTitle = str_replace('!','',$FSFriendlyTitle);
$FSFriendlyTitle = str_replace('\'','',$FSFriendlyTitle);
$FSFriendlyTitle = 'Images/Posters/'.$FSFriendlyTitle.'.jpg';

echo "<h2>".$VMRow['Title']." (Season ".$VMRow['SeasonReleased'].")</h2><br/>";
if(file_exists($FSFriendlyTitle))
{
echo "<img src='/Images/Posters/".basename($FSFriendlyTitle)."' alt='".$VMRow['Title']."'/><p/>";
}
else
{
echo "<img src='/Images/Posters/Poster Missing.jpg' alt='".$VMRow['Title']."'/><br/>";
}</code>
Also, is it just me or are code tags broken?
GeneralRe: PHP file_exists being blind? Pin
Vasudevan Deepak Kumar23-Apr-08 21:54
Vasudevan Deepak Kumar23-Apr-08 21:54 
GeneralStore a google map api location Pin
Erisa85d21-Apr-08 7:12
Erisa85d21-Apr-08 7:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.