![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Making PHP work
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,227
|
See, you messed up! You think it's set???
You think it's set but it's empty!
Don't believe me? Then run this script : <?php $var=""; if(empty($var)) { echo "This is empty<br>"; } if(isset($var)) { echo "This is set<br>"; } echo "<br>See, you messed up"; ?> ![]()
__________________
Make Money with Porn |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
(>^_^)b
Industry Role:
Join Date: Dec 2011
Posts: 7,224
|
Because a null character is not the same as a php null constant.. So it's set.
Didn't test it, though..
__________________
![]() I've referred over $1.7mil in spending this past year, you should join in. ![]() ![]() I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years.. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
(>^_^)b
Industry Role:
Join Date: Dec 2011
Posts: 7,224
|
Don't use empty to confuse people, dick...
![]()
__________________
![]() I've referred over $1.7mil in spending this past year, you should join in. ![]() ![]() I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years.. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Too lazy to set a custom title
Industry Role:
Join Date: Dec 2004
Location: Happy in the dark.
Posts: 92,989
|
Colmike7 killed it ...
__________________
FLASH SALE INSANITY! deal with a 100% Trusted Seller Buy Traffic Spots on a High-Quality Network 1 Year or Lifetime — That’s Right, Until the Internet Explodes! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Making PHP work
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,227
|
They were already confused and that's why I wrote the script.
![]()
__________________
Make Money with Porn |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
(>^_^)b
Industry Role:
Join Date: Dec 2011
Posts: 7,224
|
Quote:
![]()
__________________
![]() I've referred over $1.7mil in spending this past year, you should join in. ![]() ![]() I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years.. ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Making PHP work
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,227
|
Quote:
<?php $var; if(empty($var)) { echo "This is empty<br>"; } if(isset($var)) { echo "This is set<br>"; } echo "<br>Now you got it"; ?>
__________________
Make Money with Porn |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
feeding the wolves
Industry Role:
Join Date: Aug 2012
Location: between sand and stars in Jamaica
Posts: 6,223
|
I always feel smart until y'all starting writing php ish. from looking at the various code I can kiiinda grasp the basics at times, but it's overall incomprehensible
fuck me, need to learn, just not enough hours. it's still like Hausa to me (was gonna say greek but that can be taken so wrong in adult venue) =) envy y'all, sincerely. will get there one day
__________________
throwing molotav cocktails at the precinct |
![]() |
![]() ![]() ![]() ![]() ![]() |