![]() |
Free PHP Scripts
Post your useful php snippets or code here.
This code below, reads from a list of url's in a text file. It uses cookies. The person visiting or clicking your link to this file will see the first url in your text file, then next visit, will see the next.. and so on. Useful for showing different galleries, sending to different sponsors, good with 404 pages, etc. Code:
<?php |
< ?
phpinfo(); ? > DynaMite :1orglaugh |
I'd like an "Email this site to your friend" script, without having to pay the $400 to referral blast
|
Here is a remotely hosted one:
http://www.send-a-friend.net |
hmm but they aren't taking new accounts..
|
Quote:
We are no longer accepting new sign-up requests until further notice. :( |
That sucks :disgust
|
Ok I'll be nice for a change.....hold you're breath for a bit....
check back in 30 minutes or so and I'll have it for ya :) DynaMite |
PHP Code:
imagename|extension|http://sponsorurl.com for example: advert1|gif|http://www.disney.com ok heres the code: (I coded it so it's not stolen as you may think) PHP Code:
|
|
i know a place in san diego where they will give you almost free PCP, does that help?
:winkwink: |
coding PHP on PCP must be hard :Oh crap
|
perhaps your PHP would be really KILLER if coded while on PCP while posting on a BBS about free PHP while on PCP, know what I mean? LMK, OK? TTYL, cuz I'll BBIAB, K?
|
Quote:
|
a gallery checker that i wrote the other day:
PHP Code:
it's kinda slow because it allows up to 5 seconds connection timeout per gallery (you can change it in the code) . i have over 200 galleries in a file and it takes about 3 minutes to check all. the script will output 404, forwarding, or broken gallery links with detailed info, then it will output a list of safe galleries. cheers, Lane |
Quote:
|
lane's da man !
imho the only snippet of useful php code is called cjultra, ain't it ? :winkwink: |
How about a php counter? Is it possible for it to reset at midnight?
My sextracker, paycounter and foxcounter all say 3 completely different numbers. |
Quote:
thanks DynaSpain :thumbsup |
http://www.sexep.com/scripts/index.html - multi domain link spreader
http://www.sexep.com/scripts/redirect.html - basic click redirector |
buy a php-book & activate your brains and you'll be your own softwarehouse.
|
PHP Code:
this is a script that I hacked together the other night. it randomly selects galleries and outputs them in a 4x1 table put your url's in "galleries.txt" in this format 12,http://www.galleryurl.com,description I did this so I wouldn't have to update the tgp so often |
Quote:
|
brujah,
I remember someone asked you about a 4 lines of php code that will allow users to submit their email address and save it to a file or soemthing? You still have that? |
|
Quote:
Make a form like this one <form action="collect.php" method="post"> <input type="text" name="email"><br /> <input type="submit" value="Subscribe"> </form> Then a php file named collect.php like this: Code:
<?php There isn't a lot of validation, but it'll log all the email addresses being entered. |
Warning: REG_ERANGE in collect.php on line 2
I get this message.. any idea? Chris |
Paste the collect.php part up top again.
the forum was stripping characters out of it. |
All times are GMT -7. The time now is 08:46 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123