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 135
Search took 0.01 seconds.
Search: Posts Made By: Village Idiot
Forum: General 01-07-2011, 05:15 PM
Replies: 4
Views: 513
Posted By Village Idiot
The first standard you should observe is English,...

The first standard you should observe is English, people take you a lot more seriously once you adhere to that.

There is no standard program, they are all seen as toys to any serious web developer....
Forum: MySQL & Databases 11-06-2010, 10:55 PM
Replies: 5
Views: 646
Posted By Village Idiot
A database that is already stored in a database?...

A database that is already stored in a database? Do you mean data that is already stored in a database? If so:
UPDATE table SET field=SHA1(field) WHERE 1
Forum: Advanced PHP Programming 10-29-2010, 07:30 PM
Replies: 7
Views: 2,088
Posted By Village Idiot
Using curl you can get the HTML and everything...

Using curl you can get the HTML and everything you need for a clone of the page design. But there is absolutely no way to steal the PHP code form a server that you do not have backed access to.
Forum: General 10-11-2010, 06:20 AM
Replies: 7
Views: 675
Posted By Village Idiot
I read what you said, I'm just not convinced that...

I read what you said, I'm just not convinced that the script works on the server you are running it on. Overconfidence that a certain area is not the problem, especially when other pointers say it...
Forum: Absolute Beginners 10-08-2010, 04:35 PM
Replies: 6
Views: 4,887
Posted By Village Idiot
That error 99.9% of the time means the query you...

That error 99.9% of the time means the query you ran didnt work. Check your SQL for error by using "or die mysql_error();" after the mysql_query command
Forum: The Lounge 09-07-2010, 04:17 PM
Replies: 5
Views: 776
Posted By Village Idiot
This link...

This link (http://en.wikipedia.org/wiki/Global_internet_usage) shows that English has a strong lead, followed by Chinese, Spanish then Japanese. Its also notable while many people primarily speak...
Forum: General 06-06-2010, 03:21 AM
Replies: 1
Views: 574
Posted By Village Idiot
Use the header ...

Use the header (http://php.net/manual/en/function.header.php)function to set the MIME type to the image type you are using, then print the file content using fopen...
Forum: General 05-23-2010, 05:36 AM
Replies: 7
Views: 663
Posted By Village Idiot
Using...

Using algebra:
http://img139.imageshack.us/img139/8694/giflatex.gif

Those two point are your bounds, anything within them will do the job. If the ceil of the result or the floor of the result is...
Forum: Absolute Beginners 05-19-2010, 06:06 AM
Replies: 5
Views: 1,055
Posted By Village Idiot
Do you need to create a script or are you looking...

Do you need to create a script or are you looking for a tool? I use a program called agent ransack for mass searches, it's extremely fast.
Forum: MySQL & Databases 03-31-2010, 04:15 PM
Replies: 3
Views: 594
Posted By Village Idiot
Did this method work?

Did this method work?
Forum: MySQL & Databases 03-27-2010, 08:30 PM
Replies: 4
Views: 1,103
Posted By Village Idiot
A primary key is what the database uses to...

A primary key is what the database uses to identify the row. While you do not have to have one, it makes looking up a particular row a lot faster becuase the database expects you to find it via the...
Forum: General 03-06-2010, 06:04 PM
Replies: 8
Views: 683
Posted By Village Idiot
Just have PHP find their IP address...

Just have PHP find their IP address (http://www.plus2net.com/php_tutorial/php_ip.php) and use if statements, but it is a really bad idea to do this. IP addresses frequently change (especially for DSL...
Forum: General 03-05-2010, 07:45 PM
Replies: 3
Views: 3,807
Posted By Village Idiot
Just echo what you need inside the form, someting...

Just echo what you need inside the form, someting like this


<textarea>
<?php echo "Hello World"; ?>
</textarea>
Forum: General 02-27-2010, 10:13 PM
Replies: 6
Views: 622
Posted By Village Idiot
If two numbers are generated the same you will...

If two numbers are generated the same you will write on to an existing file. You will want to check to make sure the file does not exist before continuing (do-while loops are useful for this).
Forum: General 02-27-2010, 04:01 PM
Replies: 6
Views: 622
Posted By Village Idiot
I don't have an existing script to do this, it is...

I don't have an existing script to do this, it is a fairly specific script so I doubt anyone else will have an exact match. However, this is quite easy to build. Here are the components you will need...
Forum: Absolute Beginners 02-25-2010, 04:14 PM
Replies: 4
Views: 621
Posted By Village Idiot
If you are on a linux server, Cron Jobs is what...

If you are on a linux server, Cron Jobs is what you are looking for. If you are on windows, Task Scheduler.
Forum: General 02-02-2010, 05:27 AM
Replies: 3
Views: 2,304
Posted By Village Idiot
There are two issues with the script are...

There are two issues with the script are preventing it from working. The first is that you can not simply print an array as is, arrays reference to places in memory that hold your values. You have to...
Forum: General 01-26-2010, 04:54 AM
Replies: 4
Views: 871
Posted By Village Idiot
Lets start with abstract classes since they are...

Lets start with abstract classes since they are similar to interfaces but easier to understand. I am assuming that you understand inheritance here. Abstract classes are classes which can not be...
Forum: The Lounge 01-15-2010, 04:33 AM
Replies: 10
Views: 726
Posted By Village Idiot
This can not be done from any web based language...

This can not be done from any web based language or client side script. Also, how would you distinguish a flash ad from a flash game or some other legit purpose? Keep in mind virtually every video...
Forum: Member Introductions 01-06-2010, 12:10 AM
Replies: 8
Views: 879
Posted By Village Idiot
Then joining an open source project is not likely...

Then joining an open source project is not likely your best option. The reason for this is that open source projects are often in continuing productions, this means that new things aren't being...
Forum: Absolute Beginners 01-02-2010, 03:32 AM
Replies: 4
Views: 710
Posted By Village Idiot
There are a number of ways to do this, objects...

There are a number of ways to do this, objects are probably the most efficient. If you are not using objects anywhere else, don't bother with this. But here is how I would do it based off of what I...
Forum: Member Introductions 01-02-2010, 03:15 AM
Replies: 8
Views: 879
Posted By Village Idiot
Can you calrify what you want to do? Are you...

Can you calrify what you want to do? Are you looking to join an existing open source project or are you looking to start one? I would reccomend finding an existing project to join since the...
Forum: Advanced PHP Programming 12-25-2009, 08:17 PM
Replies: 20
Views: 2,113
Posted By Village Idiot
Its not quite that simple since he is not working...

Its not quite that simple since he is not working with a rectangle. You can only check for bounds like that when all the lines are either parallel or perpendicular to the graph's axis. Since your are...
Forum: General 12-24-2009, 08:13 PM
Replies: 5
Views: 769
Posted By Village Idiot
When validating users, use their unique database...

When validating users, use their unique database ID and a login key that you generate at login. This is how the login I wrote for a band worked.

1. User enters email and password
2. If they match,...
Forum: Absolute Beginners 11-02-2009, 04:43 AM
Replies: 3
Views: 6,397
Posted By Village Idiot
Never directly write to a PHP file, or any other...

Never directly write to a PHP file, or any other executable file for that matter. If you don't want to use a database, use a CSV file.
Showing results 1 to 25 of 135

 

All times are GMT. The time now is 05:34 AM.

 
     

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