Jump to content

crankyslap

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

crankyslap's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Glad I could help! Getting Apache configured properly after you've signed up / requested the certs can be a bit of a pain... if you need a hand, feel free to zip me a private message and I'll help ya out (though, I must admit I have a grand total of zero windows apache config experience...) Using Debian I'll mark it solved because the main question has been answered. I don't like godaddy one bit either, or any shared host for that matter. VPS / Dedi ftw
  2. Thanks Geudrik, did not know that. The project I was working on is pushed a bit into the background but I still want to do this.
  3. ID no, key yes. Do I need to pay for a certificate to send the requests over SSL?
  4. I am using apache2+mysql on Linux Debian 5 to store product keys for a vb.net program I made. What happens in the program is on of the following: 1. Bind the users computer ID to the product key they provided. (update x set computerid=computeridsent WHERE productkey=productkeysent) 2. Check if users computer ID matches the product key stored. (select productkey from x where computerid=computeridsent) Are there any security risks involved if I don't do this over SSL? I actually hardly know anything about it.
  5. Sorry for nubbing up the forums, but I'm quite anxious to ge this working and there aren't really any n00b-friendly guides out there. As you can see right here, I fetch video's from tgn.tv's youtube feed. Now, I need that youtube link at the bottom, to convert to an embed so the actual video is shown on my page. For this to happen, I searched & found this basic Regex: ------------------------- find :#(?:<\>]+href=\")?(?:http://)?((?:[a-zA-Z]{1,4}\.)?youtube.com/(?:watch)?\?v=(.{11}?))[^"]*(?:\"[^\<\>]*>)?([^\<\>]*)(??# replace : '<object width="425" height="350"><param name="movie" value="http://www.youtube.com/watch?v='.$matches[2].'"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/watch?v='.$matches[2].'" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>' find :#\[youtube\]([^\[\]]+)\[/youtube\]# replace : '<object width="425" height="350"><param name="movie" value="http://www.youtube.com/watch?v='.$matches[1].'"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/watch?v='.$matches[1].'" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>' ------------------------- However, I believe I also need to strip "&feature=youtube_gdata" and the text "Article Source" that precedes the link. I also haven't got a clue how to actually make this work for me. I tried to go in cold-turkey and just paste the snippet in header.php in wordpress, but naturally, this gave an error. Sorry if the explenation is right there, out in the open. I have searched, but I have not found it. If there is someone here who could pherhaps solve the aformentioned problem (and pherhaps bold the changes made?), and tell me how to get the code working, it would be most appreciated. I know I'm not supposed to just ask people to do stuff for me, but I learn best by example, as right now this whole regex thing is Chinese to me Thanks in advance, I hope to get this working!
×
×
  • 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.