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 39
Search took 0.06 seconds.
Search: Posts Made By: code_junkie
Forum: Advanced PHP Programming 11-03-2009, 08:15 PM
Replies: 1
Views: 1,022
Posted By code_junkie
PHP security using ssl

I have just been thrown into something I have no idea about. I need to set up a site that uses ssl certificates. Can anyone help get me started on this by pointing me in the direction of some...
Forum: Absolute Beginners 10-13-2009, 02:59 PM
Replies: 2
Views: 888
Posted By code_junkie
Need some help with an error

Ok so I've been trying to teach myself php and am doing pretty good so far. I am making a little newsletter sign up for a site and it works fine, but I get an error. From what I understand this error...
Forum: General 06-01-2009, 03:05 PM
Replies: 12
Views: 628
Posted By code_junkie
I think I should have explained the whole thing....

I think I should have explained the whole thing. This site is an incident reporting site.

Page 1:

user enters data
on submit it redirects to page 2 (url containing incident number)


Page 2:
Forum: General 05-29-2009, 02:12 PM
Replies: 12
Views: 628
Posted By code_junkie
Thanks for your response. I'm not very familiar...

Thanks for your response. I'm not very familiar with PHP yet, so can show me some example code or a site so I can reference from? I need to see it to figure it out and inderstand it.
Thanks
Forum: General 05-29-2009, 12:42 PM
Replies: 12
Views: 628
Posted By code_junkie
Its just the basic mailto function. $to =...

Its just the basic mailto function.
$to = "email@address.com";
$from = "email@address.com";
$subject = "Message from site";
$message = "";
$headers = "From: $from\r\n";
$headers .= "Content-type:...
Forum: General 05-29-2009, 11:41 AM
Replies: 12
Views: 628
Posted By code_junkie
Email script problem

I have had a script running that once a user enters their information it will email it to me. However, if they hit refresh it sends it again. How would I go about preventing this from...
Forum: Advanced PHP Programming 03-23-2009, 01:20 PM
Replies: 2
Views: 872
Posted By code_junkie
Query for ID

I am creating a report site, but need to display the report id #. I figured the best way the generate the report id would be to query the DB to get the highest # then add 1 to that, but I don't know...
Forum: Advanced PHP Programming 02-11-2009, 09:10 PM
Replies: 6
Views: 824
Posted By code_junkie
Thanks for all your help.^^

Thanks for all your help.^^
Forum: Advanced PHP Programming 02-11-2009, 08:53 PM
Replies: 1
Views: 710
Posted By code_junkie
A shot in the dark?

I am not sure if this is even possible to do. One of my company's uses Quickbooks for the accounting side of things and I am now looking into setting up an online payment system so clients can pay...
Forum: Advanced PHP Programming 02-05-2009, 04:20 PM
Replies: 6
Views: 824
Posted By code_junkie
That works perfect, thank you. Would you mind...

That works perfect, thank you. Would you mind explaining how that works?
Forum: Advanced PHP Programming 02-05-2009, 03:26 PM
Replies: 6
Views: 824
Posted By code_junkie
Creating a function?

I am not sure how to go about creating a function. I have a search script that when returns the result there are 4 specific columns that will have either 11,12,13,14,15 but only one number per...
Forum: Advanced PHP Programming 02-05-2009, 03:16 PM
Replies: 7
Views: 835
Posted By code_junkie
Which would be the best way to secure the login?

Which would be the best way to secure the login?
Forum: Advanced PHP Programming 02-04-2009, 01:12 AM
Replies: 7
Views: 835
Posted By code_junkie
Thank you for this post. I played with it for a...

Thank you for this post. I played with it for a few minute and I think I understand it now.^^
Forum: Advanced PHP Programming 01-13-2009, 02:01 PM
Replies: 7
Views: 835
Posted By code_junkie
Having trouble with md5()

I am having trouble understanding the md5() function. Can anyone explain it a little and explain how to implement it into my login script?
Forum: Advanced PHP Programming 01-09-2009, 01:55 PM
Replies: 11
Views: 795
Posted By code_junkie
Thanks for the links, I'll read up on those as...

Thanks for the links, I'll read up on those as soon as I can. As for the db, there is a field for date. I guess I should have used the whole thing in my question. The dates are displayed as 12252008...
Forum: Advanced PHP Programming 01-08-2009, 05:32 PM
Replies: 11
Views: 795
Posted By code_junkie
No, how would I secure it? I'm not that familiar...

No, how would I secure it? I'm not that familiar with php.
Forum: Advanced PHP Programming 01-08-2009, 04:51 PM
Replies: 11
Views: 795
Posted By code_junkie
HTML: <form action="search_results.php"...

HTML:
<form action="search_results.php" method="post" name="search_form">
<div class="row">
<div class="report_title"><p>Start Date:</p></div>
<div class="report_field"><p><input...
Forum: Advanced PHP Programming 01-08-2009, 03:53 PM
Replies: 11
Views: 795
Posted By code_junkie
Search by date range problem

I have a script the searches by date range, work s great. However, being in the new year I noticed if I do a search from 08 to 09 it doesn't return any result but if I search in just 08 or 09 it...
Forum: Advanced PHP Programming 01-07-2009, 06:52 PM
Replies: 7
Views: 674
Posted By code_junkie
In theory I am try to generate a random number,...

In theory I am try to generate a random number, then check the db to see if that number exist; if that number exist then to generate a new number and check to see if that one exist. Doing that...
Forum: Advanced PHP Programming 01-07-2009, 03:03 PM
Replies: 7
Views: 674
Posted By code_junkie
When I change if ($numrows < 1 ) to while...

When I change if ($numrows < 1 ) to while ($numrows >= 1) it doesn't display the number nor does it display the rest of my form. Any thoughts?
Forum: Advanced PHP Programming 01-07-2009, 02:59 PM
Replies: 7
Views: 674
Posted By code_junkie
The number being generated is an incident report...

The number being generated is an incident report number that the user uses to refer back to there report. The client wanted it similar to say when you pay a bill online and get the payment number....
Forum: Advanced PHP Programming 01-07-2009, 02:31 PM
Replies: 7
Views: 674
Posted By code_junkie
Need help creating a function

How can I make a function out of the code below but continue to cycle until it gets a number that does not exist.
//Generate unique incident number.
$incident_number = rand(1000000, 100000000);
...
Forum: Advanced PHP Programming 12-17-2008, 04:01 PM
Replies: 4
Views: 1,001
Posted By code_junkie
The number also has to be displayed on the screen...

The number also has to be displayed on the screen for the user.
Forum: Advanced PHP Programming 12-17-2008, 02:51 PM
Replies: 4
Views: 1,001
Posted By code_junkie
Help Unique random number?

I have a site for my company that requires a report number. This report number is the id for a specific report, so must be unique. At first I assumed that just a randomly generated number would work,...
Forum: General 12-16-2008, 03:16 PM
Replies: 4
Views: 1,262
Posted By code_junkie
Ok I got the fields to be required by changing...

Ok I got the fields to be required by changing if(!$name && !$email && !$message) {
To if(empty($name) || empty($email) || empty($message)) {
Now, how would I set ti so the user does not have to...
Showing results 1 to 25 of 39

 

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