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 154
Search took 0.22 seconds.
Search: Posts Made By: SOCK
Forum: The Lounge 07-13-2008, 12:06 AM
Replies: 11
Views: 911
Posted By SOCK
Interesting & volatile topic. I have been an...

Interesting & volatile topic. I have been an Obama supporter from the beginning, since even before he announced his running. I had not seen this before, but now that I've looked up and viewed the...
Forum: Javascript, AJAX, E4X 05-21-2008, 05:41 AM
Replies: 5
Views: 1,052
Posted By SOCK
sarmenhb> You shouldn't kill the script and just...

sarmenhb> You shouldn't kill the script and just show the user a blank page, your script should handle errors and bad data gracefully. If your script incorporates the user entry form, then add some...
Forum: Javascript, AJAX, E4X 05-20-2008, 03:34 AM
Replies: 5
Views: 1,052
Posted By SOCK
I have to say, that doesn't make alot of sense....

I have to say, that doesn't make alot of sense. You're concerned that the user is either using an outdated browser or has JavaScript disabled, but you want to use Prototype to create some effects...
Forum: Javascript, AJAX, E4X 05-17-2008, 01:37 AM
Replies: 5
Views: 1,052
Posted By SOCK
No, what you want to do is use JavaScript and the...

No, what you want to do is use JavaScript and the DOM to evaluate that input before the form is submitted, possibly even as they are typing. If there are errors, use the JS DOM functions to...
Forum: Advanced PHP Programming 05-05-2008, 06:20 PM
Replies: 3
Views: 960
Posted By SOCK
Can you give us the specifics of the query...

Can you give us the specifics of the query itself? In other words, is it something like your example where you're setting the same value for every record that match on a set of record ID values?

If...
Forum: Advanced PHP Programming 05-05-2008, 01:10 AM
Replies: 13
Views: 5,447
Posted By SOCK
Yes, extending a class means your child classes...

Yes, extending a class means your child classes inherit all properties and methods. No, if they are declared private, then only the parent class has access to them. This is why I recommend to give...
Forum: Advanced PHP Programming 05-04-2008, 09:20 PM
Replies: 13
Views: 5,447
Posted By SOCK
The $this keyword represents the currently...

The $this keyword represents the currently instantiated object. Due to the fact that the class is simply the blueprint for the object, there has to be a way to access the 'object name' inside the...
Forum: Advanced PHP Programming 05-04-2008, 08:50 AM
Replies: 13
Views: 5,447
Posted By SOCK
All very basic OO concepts. Take a look at some...

All very basic OO concepts. Take a look at some tutorials (http://www.google.com/search?&q=object%20oriented%20tutorials), particularly the ones on Java as PHP's current OO implementation resembles...
Forum: Absolute Beginners 04-24-2008, 01:33 PM
Replies: 17
Views: 1,009
Posted By SOCK
Really? You must have never written a forum...

Really? You must have never written a forum script.

I use HEREDOC quite a bit for SQL statements. The one caveat as mentioned is that the terminating string must be completely over to the left...
Forum: The Lounge 04-13-2008, 05:05 PM
Replies: 6
Views: 728
Posted By SOCK
20% is a huge claim; the article doesn't...

20% is a huge claim; the article doesn't specifically mention if it's attributed to Maria or what combination of factors. I for one have been too busy to test the 5.1 release candidates or to test...
Forum: XHTML, HTML, CSS 04-12-2008, 03:44 AM
Replies: 18
Views: 1,377
Posted By SOCK
As to your first question, are you asking about...

As to your first question, are you asking about the link tag or the way the script linked returns the CSS? It appears to be a relatively generic script receiving a GET string, processing it and...
Forum: The Lounge 04-12-2008, 03:36 AM
Replies: 0
Views: 664
Posted By SOCK
Wanted: graphics design / animation

Hey all - I know there isn't a 'help wanted' forum here but there are alot of talented people, so I thought I'd ask.

I'm looking at developing a couple of sites that I'm going to want some graphics...
Forum: Absolute Beginners 03-22-2008, 07:07 PM
Replies: 7
Views: 832
Posted By SOCK
I agree with maZtah; I prefer style #1, which...

I agree with maZtah; I prefer style #1, which keeps the SQL statement separate from the actual query call. If you need to look at the query or data embedded in it, it's simple to display the SQL...
Forum: General 03-15-2008, 05:24 PM
Replies: 19
Views: 1,081
Posted By SOCK
Like several of you, I started with v3 back in...

Like several of you, I started with v3 back in '98 or so when I was first introduced to BSD and Linux, but unfortunately didn't really do much with it then. I definitely did more with Perl than with...
Forum: General 03-13-2008, 06:36 PM
Replies: 4
Views: 3,256
Posted By SOCK
Nice, thanks Jay. Bookmarked your site.

Nice, thanks Jay. Bookmarked your site.
Forum: The Lounge 03-13-2008, 05:35 AM
Replies: 17
Views: 848
Posted By SOCK
Alan, thanks for posting a corrected version;...

Alan, thanks for posting a corrected version; that did it. I still can't use an opening or closing PHP tag (i.e. <?php or ?>) but that's not critical.

Thanks for your time, this editor will come in...
Forum: The Lounge 03-12-2008, 06:54 PM
Replies: 17
Views: 848
Posted By SOCK
No, the SQL / CODE / PHP blocks to not display...

No, the SQL / CODE / PHP blocks to not display properly. When the page is loaded in the browser, I get something to the effects of



CODE tags do the same, and PHP tags don't display anything. A...
Forum: General 03-12-2008, 06:41 PM
Replies: 2
Views: 815
Posted By SOCK
You'll have to provide a bit more detail if you...

You'll have to provide a bit more detail if you want a PHP script solution; in general, you would typically use either the 'mysql monitor' command line client or phpMyAdmin to load a database from an...
Forum: The Lounge 03-12-2008, 01:25 PM
Replies: 17
Views: 848
Posted By SOCK
Editor works nicely, but the preview feature...

Editor works nicely, but the preview feature isn't working for me. The page opens in the default browser (FireFox) but the [ code ] tags aren't parsed.

Vista Home Premium, FF 2.0.0.12
Forum: General 03-11-2008, 12:11 AM
Replies: 11
Views: 1,188
Posted By SOCK
@wGEric: I can't wait until the next ECMAScript...

@wGEric: I can't wait until the next ECMAScript specification (http://en.wikipedia.org/wiki/ECMAScript) where they do the 'official rename'.

@DeMo (and others): consider taking a look at Bruce...
Forum: Absolute Beginners 03-10-2008, 06:46 PM
Replies: 4
Views: 789
Posted By SOCK
How are you including those two files? It should...

How are you including those two files?

It should work like so:

<?php
require_once('conf_global.php');
require_once('core.func.php');

title( $siteName, 'Home');
?>
Forum: Absolute Beginners 03-08-2008, 09:39 AM
Replies: 7
Views: 954
Posted By SOCK
If when you say the file you're including is...

If when you say the file you're including is "external", meaning it's a URL, then yes. Check for the 'allow_url_fopen (http://us.php.net/manual/en/ref.filesystem.php#ini.allow-url-fopen)' and...
Forum: Feedback 03-06-2008, 01:49 AM
Replies: 9
Views: 1,096
Posted By SOCK
Gareth> I actually was working on one that uses...

Gareth> I actually was working on one that uses jQuery, but please do. If you wouldn't mind, please send me a PM with a general outline of what you plan to include so I can alter my tutorial to cover...
Forum: Javascript, AJAX, E4X 03-05-2008, 04:09 PM
Replies: 6
Views: 1,283
Posted By SOCK
Sure, send me a PM, or post what you're having...

Sure, send me a PM, or post what you're having trouble with so we can all take a look.
Forum: General 03-05-2008, 02:18 PM
Replies: 5
Views: 1,037
Posted By SOCK
The only thing that comes to mind is the PEAR...

The only thing that comes to mind is the PEAR SQL_Parser (http://pear.php.net/package/SQL_Parser/) package, and it looks like the documentation is so sparse I can't tell if it comes close to doing...
Showing results 1 to 25 of 154

 

All times are GMT. The time now is 11:02 PM.

 
     

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