Jump to content

Collegeboox

Members
  • Posts

    65
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Collegeboox's Achievements

Member

Member (2/5)

0

Reputation

  1. exactly
  2. www.farleycrossflags.com Let me know what you guys like and what should be changed...
  3. I would love something that I did not need a database for.
  4. I would love to add a comment section to my music blogging site. Does anyone have some simple code that they would not mind sending me? or at least helping me with this situation?
  5. So this is saying if the string $link contains soundcloud then it does not equal false? So I could do... if(strpos($link, 'soundcloud') !== FALSE) echo "" else echo"" Correct or no??
  6. I have posted 2 other times asking for help and I am not getting any help from anyone they just keep telling me why didnt I do it this way why didnt I do it that way...So I thought it would just be easier to just ask if someone could tell me the code.
  7. Can someone write me some simple code to check to see if the url has the word "soundcloud" in them. This is what I want to do.... This is my code now... echo " <h3> $title - $author</h3> </br> <iframe width='640' height='360' src='$link' frameborder='0' allowfullscreen></iframe> </br> </br> $message </br> <font color='#8b8d9b' size='1'>Posted By: $username $date</font> </br></br></br></br></br> "; However I want to pull the link value out of the database and see if it contains the word "soundcloud" and if it does do this...(note the height is changed) echo " <h3> $title - $author</h3> </br> <iframe width='640' height='100' src='$link' frameborder='0' allowfullscreen></iframe> </br> </br> $message </br> <font color='#8b8d9b' size='1'>Posted By: $username $date</font> </br></br></br></br></br> "; Any help would be greatly appreciated.
  8. The users are not using it is is a group of 4 admins one including me. Also I do not know how to do that otherwise that is what I would have done.
  9. My site is a music blogging site where the admins blog music that they have found and I want to make sure that they type in "<iframe width="640" height="360" src="http://www.youtube.com/embed/BPVlNTQRoZk?feature=player_embedded" frameborder="0" allowfullscreen></iframe>" in the textbox rather than this " Ideas?
  10. I am trying to write an if statement that checks to make sure the information put in the text box is an imbedded file. Does anyone know how to do that?
  11. well i guess just taking the strp out made it work I want to thank everyone that helped me....THANK YOU
  12. To be honest at this point I am not worried about people injecting stuff into the website because the page that this is on is password protected. Can you give me the code that you would use. I am not familiar with casting.
  13. haha I am assuming messing it up, but I mean it used to work. I posted a couple things then all of a sudden I get the error. So what should I change it to?
  14. This is what is being inputted in link line... <object style="height: 390px; width: 640px"><param name="movie" value="http://www.youtube.com/watch?v=NhO-tTsxVso?version=3&feature=player_embedded"><param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always"><embed src="http://www.youtube.com/watch?v=NhO-tTsxVso?version=3&feature=player_embedded" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="360"></object>
  15. I am getting this error when i put that code in... Notice: Undefined index: embedded in /home/content/71/8511971/html/posted.php on line 20... I kind of understand what it is saying but I do not know how to fix it, any ideas?
×
×
  • 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.