Home
Forums
Articles
Glossary
Awards
Register
Rules
Members
Search
Today's Posts
Mark Forums Read
Account Login
User Name
Password
Remember Me?
Latest Articles
The basic usage of PHPTAL, a XML/XHTML template library for PHP
by
awuehr
on
11-10-2008
in
Tips & Tricks
Vulnerable methods and the areas they are commonly trusted in.
by
Village Idiot
on
11-04-2008
in
Classes & Objects
Simple way to protect a form from bot
by
codefreek
on
10-23-2008
in
Basic
The Basics On: How Session Stealing Works
by
wiifanatic
on
09-12-2008
in
Security & Permissions
How to keep your forms from double posting data
by
drewbee
on
07-03-2008
in
Tips & Tricks
IRC Channel
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
Wired Flame
ClientExec
Handy PHP
PHP Kitchen
PHP Tutorials
Insane Visions
Associates
TalkPHP
>
Search Forums
»
Search Results
Page 1 of 6
1
2
3
>
Last
»
Page 1 of 6
1
2
3
>
Last
»
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
i need help!!!
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
Encrypting data already stored
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
clone a webpage using php?
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
Cron Jobs
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
Mysql_num_rows(): supplied argument is not a valid MySQL result resource
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
popular web languages?
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
How can i read an image from the inside of a php file
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
Scratching my head a bit...
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
search for a string through multiple php documents
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
How to get random number based on the condition.
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
composite key syntax. How can I fix this?
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
show url link if there ip =?
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
Display PHP code in text area help.
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
create .txt with text in the field?
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
create .txt with text in the field?
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
scheduling the server to do updates/jobs
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
Write Mysql results to a text file
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
What is the difference between interface, abstract, and ordinary class?
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
A Volume Adjusting Application?
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
anyone wanna me participate in an opensource project ?
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
call function and change variables?
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
anyone wanna me participate in an opensource project ?
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
PHP GeoLocation
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
Remember me login w/ cookies
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
Guestbook script does not use a db...?
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
Page 1 of 6
1
2
3
>
Last
»
All times are GMT. The time now is
05:34 AM
.
Contact Us
-
TalkPHP - PHP Community
-
Archive
-
Top
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