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 21 of 21
Search took 0.20 seconds.
Search: Posts Made By: DeMo
Forum: Show Off 03-21-2008, 04:08 PM
Replies: 6
Views: 1,204
Posted By DeMo
Good job Orc. :-)

Good job Orc. :-)
Forum: The Lounge 03-18-2008, 09:29 PM
Replies: 13
Views: 2,800
Posted By DeMo
Pound > Euro > USD > Yen

Pound > Euro > USD > Yen
Forum: General 03-17-2008, 01:31 AM
Replies: 9
Views: 2,150
Posted By DeMo
$_REQUEST contains all the data in $_GET, $_POST...

$_REQUEST contains all the data in $_GET, $_POST and $_COOKIES.

If you use $_REQUEST to check if some data was passed to your page you don't know if this data is coming from the URL...
Forum: XHTML, HTML, CSS 03-12-2008, 09:06 PM
Replies: 12
Views: 1,025
Posted By DeMo
You mean preventing the user from zooming in/out...

You mean preventing the user from zooming in/out your page? If that is case then I guess there's no way to do it, the zoom is a user-controlled feature of the browser, we can't manipulate it via CSS...
Forum: Absolute Beginners 03-12-2008, 09:49 AM
Replies: 9
Views: 1,159
Posted By DeMo
The value property of each checkbox should be set...

The value property of each checkbox should be set to the actual id of each item, and not to an array (id[]).

<input type="checkbox" name="checkbox[]" value="<?= $id ?>" />That $id will probably come...
Forum: General 03-10-2008, 04:30 AM
Replies: 11
Views: 1,184
Posted By DeMo
Java is 100% object oriented, big companies love...

Java is 100% object oriented, big companies love it because it is scalable, the code is easier to mantain and you can use it for SOA (Service Oriented Architecture) which is the ultimate separation...
Forum: Advanced PHP Programming 03-10-2008, 01:12 AM
Replies: 4
Views: 1,091
Posted By DeMo
Number 3 is indeed the most logical one and will...

Number 3 is indeed the most logical one and will make it easier to count tags and select what articles belong to what tags.

Inserting tags will be easy, you'll probably do an explode in the data,...
Forum: Javascript, AJAX, E4X 03-08-2008, 09:15 PM
Replies: 17
Views: 3,038
Posted By DeMo
Why don't you use JavaScript? It's a lot...

Why don't you use JavaScript? It's a lot easier...
<script type="text/javascript">
function show() {
document.getElementById("popup").style.display = "block";
}

function hide() {
...
Forum: General 03-01-2008, 07:21 PM
Replies: 12
Views: 595
Posted By DeMo
Use the basename function, it strips everything...

Use the basename function, it strips everything but the filename.
$path = "/home/httpd/html/index.php";
echo basename($path); // will show just "index.php";
Forum: XML, XSLT, XPath, XQuery 02-29-2008, 10:14 PM
Replies: 12
Views: 1,998
Posted By DeMo
I never looked into the Facebook API but it...

I never looked into the Facebook API but it probably uses XML too.
Google likes XML too, take a look at this example (http://curl.haxx.se/libcurl/php/examples/blogpost.html), it shows how you can use...
Forum: XML, XSLT, XPath, XQuery 02-29-2008, 05:10 PM
Replies: 12
Views: 1,998
Posted By DeMo
There are more uses to XML other than RSS. You...

There are more uses to XML other than RSS.

You can use it to organize and store simple data like configuration files for your application.
<screen>
<width>1024</width>
...
Forum: Javascript, AJAX, E4X 02-24-2008, 05:26 AM
Replies: 9
Views: 1,413
Posted By DeMo
Found the error...

Found the error :-)
xmlHttp.onreadystatechange=function(IdKey) {
Just erase that IdKey that's inside the brackets, make it like this:
xmlHttp.onreadystatechange=function() {
Forum: MySQL & Databases 02-23-2008, 12:23 AM
Replies: 10
Views: 980
Posted By DeMo
Well.. that depends on what you're building. If...

Well.. that depends on what you're building. If for this system you need only the user's name and password then it's ok.

About the password, how do you plan to store them?
If you're gonna store flat...
Forum: XHTML, HTML, CSS 02-18-2008, 02:27 AM
Replies: 6
Views: 1,858
Posted By DeMo
You can set the size of stuff using percentage...

You can set the size of stuff using percentage instead of an absolute value.

Using CSS:
.somestyle {
width: 100%;
}

Directly in the element:
<div width="100%">content</div>
Forum: Javascript, AJAX, E4X 02-17-2008, 06:18 AM
Replies: 7
Views: 1,067
Posted By DeMo
Yes Orc, prototype is one of the many JS...

Yes Orc, prototype is one of the many JS libraries that work with a syntax like that.

For instance, if you need to get the value of a form field you could do it like this:
var x =...
Forum: Javascript, AJAX, E4X 02-17-2008, 06:02 AM
Replies: 1
Views: 772
Posted By DeMo
Try these: JavaScript Kit- DOM (Document Object...

Try these:
JavaScript Kit- DOM (Document Object Model) Reference (http://www.javascriptkit.com/domref/)
JavaScript Reference (http://www.w3schools.com/jsref/default.asp)
Forum: XHTML, HTML, CSS 02-02-2008, 10:22 AM
Replies: 16
Views: 1,106
Posted By DeMo
It's a lot easier (and takes less resources) if...

It's a lot easier (and takes less resources) if you do it with JavaScript. But be aware that the user MUST have JavaScript enabled in his browser and he can also see the real link if he looks at the...
Forum: MySQL & Databases 02-01-2008, 07:36 AM
Replies: 7
Views: 4,709
Posted By DeMo
Wow, reading my post again I realized I made a...

Wow, reading my post again I realized I made a huge mistake!!
Those JOINS are useless if we want to retrieve ONLY the phone numbers (or emails).

The correct query would be simply:
SELECT number FROM...
Forum: MySQL & Databases 01-31-2008, 05:46 PM
Replies: 7
Views: 4,709
Posted By DeMo
Hi Aaron, relational databases (like MySQL) have...

Hi Aaron, relational databases (like MySQL) have this name because you can create relations between the table. The types of relations are one-to-one, one-to-many/many-to-one and many-to-many.

That...
Forum: General 01-30-2008, 02:48 PM
Replies: 16
Views: 1,057
Posted By DeMo
Looking at the source one can see that there's no...

Looking at the source one can see that there's no secret, they're using the highlight_php() function too. :)
Forum: General 01-30-2008, 02:36 PM
Replies: 16
Views: 1,057
Posted By DeMo
I think I know what he is talking about... Go to...

I think I know what he is talking about...
Go to php.net, scroll the page all the way down to the footer and you'll see this link: show source (http://www.php.net/source.php?url=/index.php), click it...
Showing results 1 to 21 of 21

 

All times are GMT. The time now is 11:32 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