unsider
-
Posts
610 -
Joined
-
Last visited
Never
Posts posted by unsider
-
-
Alright, currently I'm in need of a drop down menu.
Allthough unlike the googled standard, I'm not looking for onMouseHover effect, I'm looking to click on the object, and it remain in it's pullDown state until I click either on the object or elsewhere within the browser.
I am very tired, and normally would provide some code for us to work with, but for now I'm going to ask and see if I get some responses, and I might post some tomorrow depending where this goes.
If there is a tutorial out there that you could point me towards I'd appreciate that as well.
-
I'm not quite sure why you're asking? You may have to reword your question.
Would this have anything to do with cURL?
http://us3.php.net/manual/en/curl.examples.php
-
PHP isn't necessary to accomplish this.
You should look into JS's onMousover or CSS's psuedo hover class.
I'd suggest CSS, so just google it. "css image hover" or something of the sort.
-
[quote author=Vermillion link=topic=106377.msg977426#msg977426 date=1219988485]
I like children and fantasy. My name comes from a fantasy RPG, in which Vermillion is a guy that protects a little girl.
Vermillion is also a pretty color.
[/quote]
As well as a city in Pokemon games.
Vermillion City
Ya...I played. -
Sounds pretty cool.
Hey.
-
Random ATM:
Steppin' Razor - Sublime
And as I posted this...
Aphex Twin - Windowlicker
Ugh, huge transiston.
-
I usually keep it all on one line unless I'm collabing with someone. Then I tend to break it into, ober said, "logical portions of code [with] separate lines for readability".
I'll post some examples later if I have time.
-
No one has anything they can think of? Surely you all must know a lot I dont..
-
myspace? Your are kidding right?
I knew I'd be punished for throwing those 2 up there.
Just disregard those 2 pieces of trash.
But this also gives us the option to discuss our opinions on the sites that really hit home with the public.
-
I was considering facebook more on the developer side, it's plain I agree, but it's well designed.
And ya newegg is pretty damn impressive. Got anymore?
-
List the sites that you know/think are well designed in terms of design, navigation, etc..
I have more, but for now this should be good to get this started. So let's hear um.
-
cookies would definitely be the way to go for something so simple. if you only want it to stay for the duration of their browsing, you could use sessions like anything else, but clearly you want it to persist forever and ever and ever, amen. so cookies are your solution.
another option would be to store it in the database by IP, but IP's are notoriously unreliable and intermittently get recycled by some ISPs (depending on their DHCP settings).
Alright, great!
Thanks for confirming.
-
Let's say you have 3 tabs:
1 | 2 | 3
When the page is loaded for first time it is defaulted to "1". The user, regardless of log-in status, sets the tab to "2".
I would like to maintain the tab value of "2" from visit to visit.
What would be the best method of doing this? I would think cookies, and it would make the most sense, but I have no idea.
If this wasn't clear please let me know.
Thanks.
-
Nevermind, found a good article.
I had previously searched google, found nothing, but kept trying and stumbled upon a good article.
Sorry about this, you can go ahead and delete it.
-
Took the survey, although I add to the % of people with under 10k a year.
The numbers are alright, but I agree, they could be a lot better.
-
[quote author=corbin link=topic=106377.msg970566#msg970566 date=1219291392]
[quote author=cgm225 link=topic=106377.msg969942#msg969942 date=1219237560]
[quote author=Derleek link=topic=106377.msg969749#msg969749 date=1219214428]
derleek my balls please!
[/quote]
(1) I think the quote and proper spelling is: "You can derelict my balls, capi-tan."
[quote author=phpSensei link=topic=106377.msg969723#msg969723 date=1219209893]
I think I am the only coder in the world that has never seen more than 1 episode of star trek, or watched star wars.[/quote]
(2) I have seen star wars, but have NEVER seen an episode of star trek... you're not alone!
[/quote]
I've seen all the Star Wars, but I can't stand Star Trek. I've seen about 5 minutes of an episode and been like "OH GOD!" then turned it off.
[/quote]
All I know is the captain sleeps with a new green alien atleast every episode, but I agree it looks pretty difficult to sit through.
Although I have seen all the star wars, doesn't do much for me though. I personally think I enjoyed LoTR more. Something about it sparks my imagination a little more. -
I'll try a few more later, but I tested the typical "stretchdatpagewidafatdick", and apparently you need to make use of word wrap.
-
Based on my family's computer habits, most viruses come from 4 places:
-P2P network stuff (Limewire, Bearshare, so on)
-Torrents
-Fake emails
-Porn
So, viruses are pretty easy to avoid. I, like Daniel, don't use anti virus software.
Well, I have AVG installed, but it's not running.
100% agreed.
When I had have a PC I never ran anti-v programs, the rare defrag, and I only had to re-install once in 5 years. Just be careful what you do, and as for your wife and daughter I don't know what to tell ya. This is my comp, and only mine. Like daniel said, FF wouldn't hurt.
Porn is one of the bigger issues with people I know for their PCs. Hard to explain why it bothers me, but it's frustrating when people try to argue that they are fine if they run their AV programs after their porn-spree. While it's partly true, it wouldn't be necessary if you didn't download the crap. It just adds insult to injury. *shrug* They just can't control themselves.
And whatever you do, never use "SpyBot", just a warning , when i first got my comp many years back, my dad (semi-computer retarded) installed that piece of shit on it, and it has to be one of the single most annoying programs out there. Every time I think about the little pop-up messages from it I want to rip out my hair. Never let him do that again.
What's the most annoying AV program you guys have had the displeasure of experiencing?
-
I am sorry, but the code you gave me does not echo anything out.
Here is how I integrated it.
<?php $url = htmlspecialchars($_GET["url"]); $form = $url; if ($form != '' && strpos(strtolower($form), 'http://') !== 0) $form = 'http://'.$form; $url = $form; if (!isset($_GET["url"])){ header("Location: http://www.krazypicks.com"); }else{ echo "<center>You are about to leave KrazyPicks! to an external link. <br>Do you want to continue?"; echo "<br>External Link: ".$url."</center>"; ?>
Thanks!
Try it? The values in the array() shouldn't return anything because they weren't extracted. Should work now.
Ugh, man it's 3 am here, and I'm tired. Forgive me for my stupidity.
But keep in mind that this quick little fix up will always add http://, it does not interpret the protocol beforehand.
Although, I'm not quite sure why you would want to worry about ftp://, etc...?
This function should interpret it though, so just incorporate it where necessary. Unless it's for the active protocol only. *shrug* If none of this helped you, I'm sure someone else can. I gotta get some rest, and I'll help you more in the morning if your problem is still unresolved.
Good luck.
http://us.php.net/manual/en/function.gnupg-getprotocol.php
-
Sorry bout' that, didn't include the output
Well it's good that you took it upon yourself to figure it out. Glad I could help, half way atleast.
-
1.
<?php $form = array('url'); if ($form['url'] != '' && strpos(strtolower($form['url']), 'http://') !== 0) $form['url'] = 'http://'.$form['url']; ?>
2. php referrals - google a script or something
-
In a very indirect way yes. But I'm just looking for the general idea behind the concept, and your post helps me a little bit.
I think I'm going to try it figure it out on my own, skulk around, observe a little more and reach a viable conclusion.
Thanks guys.
-
-
sorry to double, fell asleep, still trying to figure this out.
Forum Read/Unread Logic...
in PHP Coding Help
Posted
What method have you guys encountered that proves to be the most effective?
I know of a few, but I'm just seeing if I can get a second opinion.
Granted I could go sift through some open source projects, let's discuss it here, I think it'd do more for me to discuss it here.