TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Showing results 1 to 25 of 52
Search took 0.01 seconds.
Search: Posts Made By: h0ly lag
Forum: General 12-03-2009, 06:13 AM
Replies: 2
Views: 634
Posted By h0ly lag
Oh dang. I should know that about ereg. I just...

Oh dang. I should know that about ereg. I just read that the other day. and thank you very much. I know if I ever have a problem you guys are always super friendly at TalkPHP. :) Thanks again.
Forum: General 12-03-2009, 02:28 AM
Replies: 2
Views: 634
Posted By h0ly lag
Stripping non alpha numeric characters

This should work correct?

ereg_replace('[^A-Za-z]','', $str);

Because I am using it on a project that I need to strip any characters that are not alpha numeric, or if the string contains dash's or...
Forum: General 11-10-2009, 06:46 AM
Replies: 5
Views: 734
Posted By h0ly lag
Sorry, that is what I meant originally as well....

Sorry, that is what I meant originally as well. Alternative conditional structures.
Forum: General 11-07-2009, 12:23 AM
Replies: 5
Views: 734
Posted By h0ly lag
Common short tags

What are the common PHP short tags? I know of a few such as <?=$str ?>. Actually thats about all I know.
Forum: General 09-21-2009, 07:32 AM
Replies: 4
Views: 831
Posted By h0ly lag
Thanks tony, I think that will work out very...

Thanks tony, I think that will work out very nicely. :)
Forum: General 09-20-2009, 07:41 PM
Replies: 4
Views: 831
Posted By h0ly lag
Ahh yes, I already have the movie table taken...

Ahh yes, I already have the movie table taken care of. And yes, the parent series would be according to the tv_id. But I have another question, because each series is going to have different amounts...
Forum: General 09-20-2009, 08:50 AM
Replies: 4
Views: 831
Posted By h0ly lag
How to structure this MySQL data?

Ok, so I am making a script for one of my friends. He is creating lists of movies with their info, such as the poster, a description of the movie, etc... I got this working fine. But he is also...
Forum: General 05-20-2009, 11:38 PM
Replies: 13
Views: 1,160
Posted By h0ly lag
Sounds good to me. Oh and is the is_numeric()...

Sounds good to me. Oh and is the is_numeric() function sufficient for this?
Forum: General 05-20-2009, 10:12 PM
Replies: 13
Views: 1,160
Posted By h0ly lag
Of course, rule number one. Never trust user...

Of course, rule number one. Never trust user input. :)

So maybe something like this:
/reply.php?t=56

And all that 't' GET variable would be is the thread ID.

I guess just keep it simple. Just...
Forum: General 05-20-2009, 08:19 PM
Replies: 13
Views: 1,160
Posted By h0ly lag
Retaining thread ID when posting reply

I know there are already tons of PHP forums available, but this is just a proof of concept for myself I suppose. So the problem I have is when a user goes to post a reply to a thread, I have an...
Forum: General 12-11-2008, 06:14 PM
Replies: 5
Views: 604
Posted By h0ly lag
Ok, that's what I get for not searching.

Ok, that's what I get for not searching.
Forum: General 12-10-2008, 07:46 PM
Replies: 5
Views: 604
Posted By h0ly lag
Why do you use $szBla

Exactly, why do you guys put sz in front of your variables.

$szFilename

Like that. I was just curious.
Forum: General 12-10-2008, 07:29 PM
Replies: 14
Views: 1,024
Posted By h0ly lag
Ditto. It works just as good as anything else...

Ditto. It works just as good as anything else I've used. Its also free and open source!
Forum: XHTML, HTML, CSS 12-04-2008, 06:24 PM
Replies: 3
Views: 845
Posted By h0ly lag
Personally, I refuse to use tables for actual...

Personally, I refuse to use tables for actual layout. Divs and spans for design with some nice CSS. IMO tables are best reserved for presenting data.
Forum: General 11-18-2008, 07:18 PM
Replies: 1
Views: 1,373
Posted By h0ly lag
Nobody has anything to say?

Nobody has anything to say?
Forum: General 11-14-2008, 09:35 PM
Replies: 1
Views: 1,373
Posted By h0ly lag
Rapidshare link checker

I've made a RS link checker, but I feel it's very inefficient in the way it checks the links. It uses get_file_contents to visit the page of every link, then using some (albeit very terrible or...
Forum: XHTML, HTML, CSS 11-01-2008, 05:52 AM
Replies: 3
Views: 839
Posted By h0ly lag
Thank you very much Salathe. Your help was...

Thank you very much Salathe. Your help was invaluable.
Forum: XHTML, HTML, CSS 10-28-2008, 04:43 AM
Replies: 3
Views: 839
Posted By h0ly lag
Good 'ol mod rewrite help needed...

Ok, first off anyone taking time to read this, thanks. Now what I've made is one of those URL shortening scripts. Like TinyURL (http://tinyurl.com/). Anyhow, I want to be able to rewrite my URLs like...
Forum: XHTML, HTML, CSS 10-03-2008, 05:39 AM
Replies: 2
Views: 3,649
Posted By h0ly lag
Wow, that worked perfect. Thank you very much!

Wow, that worked perfect. Thank you very much!
Forum: XHTML, HTML, CSS 10-02-2008, 05:54 PM
Replies: 2
Views: 3,649
Posted By h0ly lag
Load url on select, via drop down menu

Ok, my title pretty much says it all. I need to create a drop down menu with the titles of the pages I need to load. The pages are being included with a $_GET command and a switch statement. The page...
Forum: Member Introductions 08-03-2008, 07:10 AM
Replies: 17
Views: 862
Posted By h0ly lag
That's a very ambitious statement tony.

That's a very ambitious statement tony.
Forum: The Lounge 08-03-2008, 07:05 AM
Replies: 34
Views: 1,396
Posted By h0ly lag
You shouldn't have to rely on a program to help...

You shouldn't have to rely on a program to help you spell. And you should have learned to write valid XHTML in the first place.

Sorry, I use Notepadd++ and I absolutely love it.
Forum: The Lounge 07-28-2008, 08:17 PM
Replies: 10
Views: 1,097
Posted By h0ly lag
I have heard bad things about Dreamhost's uptime....

I have heard bad things about Dreamhost's uptime. But as you say, you will get complaints with every service.

Might I also suggest MediaTemple.
(mt) Media Temple - (gs) Grid-Service...
Forum: The Lounge 07-28-2008, 08:09 AM
Replies: 10
Views: 1,097
Posted By h0ly lag
At the risk of sounding ignorant. Explain your...

At the risk of sounding ignorant. Explain your problems with them.
Forum: The Lounge 07-27-2008, 08:10 PM
Replies: 10
Views: 1,097
Posted By h0ly lag
If your looking for a shared host. I seriously...

If your looking for a shared host. I seriously recommend HostGator. Time and time again I've tried different hosts, yet I always come back to them. Oh, and the first month will only cost you a penny...
Showing results 1 to 25 of 52

 

All times are GMT. The time now is 08:07 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design