I am on Mac OS 10.6
I found the logs using the console. It was pretty easy and displays nicely.
I am reviewing the entries now.
Thanks for your help.
--
Steve Marquez
Marquez Design
e-mail: smarq...@marquez-design.com
web: http://www.marquez-design.com
phone: 479-648-0325
On Jun 3, 2010, at 1
True. Since I am a Windows user, I find it here :
*C:\Program Files\EasyPHP 3.0\apache\logs*
--Shreyas
On Fri, Jun 4, 2010 at 12:27 AM, Ashley Sheridan
wrote:
> On Fri, 2010-06-04 at 00:25 +0530, Shreyas wrote:
>
> Steve,
>
> Do you know where Apache is installed? If yes, you have something li
On Fri, 2010-06-04 at 00:25 +0530, Shreyas wrote:
> Steve,
>
> Do you know where Apache is installed? If yes, you have something like
> error.log and access.log. Find them and nail them them down.
>
> I am a novice, too and the best way to learn is to answer here and getting
> corrected by other
Steve,
Do you know where Apache is installed? If yes, you have something like
error.log and access.log. Find them and nail them them down.
I am a novice, too and the best way to learn is to answer here and getting
corrected by other PHP gurus! So, all in the name of learning! :)
--Shreyas
On Th
On Thu, 2010-06-03 at 12:58 -0500, Steve Marquez wrote:
> Strangest thing... it just started working again. Odd.
>
> Is there an easy way to view the error logs? As you can tell, I am still a
> novice at this.
> I am on Apache2
>
> Thanks for your help.
>
It depends. On most Linux distros t
Strangest thing... it just started working again. Odd.
Is there an easy way to view the error logs? As you can tell, I am still a
novice at this.
I am on Apache2
Thanks for your help.
--
Steve Marquez
Marquez Design
e-mail: smarq...@marquez-design.com
web: http://www.marquez-design.com
phone:
-Original Message-
From: Jim Lucas [mailto:li...@cmsws.com]
Sent: Thursday, June 03, 2010 11:38 AM
To: php General List
Cc: Steve Marquez
Subject: Re: [PHP] PHP Form submitting to MySQL not working...
Steve Marquez wrote:
> I am running Apache (not sure which version, where do I f
<
sa...@hallmarcwebsites.com> wrote:
>
>
> -Original Message-
> From: Jim Lucas [mailto:li...@cmsws.com]
> Sent: Thursday, June 03, 2010 11:38 AM
> To: php General List
> Cc: Steve Marquez
> Subject: Re: [PHP] PHP Form submitting to MySQL not working...
>
-Original Message-
From: Jim Lucas [mailto:li...@cmsws.com]
Sent: Thursday, June 03, 2010 11:38 AM
To: php General List
Cc: Steve Marquez
Subject: Re: [PHP] PHP Form submitting to MySQL not working...
Steve Marquez wrote:
> I am running Apache (not sure which version, where do I f
Steve Marquez wrote:
> I am running Apache (not sure which version, where do I find that?) it is
> running on a Macbook Pro.
> The error happened when I submitted the form.
Sorry, should have been more specific. Where did you see the error? In your
browser, error logs of your web server, etc..
Steve Marquez wrote:
> Good morning,
>
> I have a PHP form that I have been using for some time now on a Macbook Pro
> running PHP 5.3.1 and MySQL 5.0.5 and everything was working fine. But this
> morning, when I submitted (it is a journaling application) it came up with
> the following error:
Sorry I wasn't specific enough. I'll include the files.http://www.w3.org/TR/html4/loose.dtd";>
Prayer Form
// specify the name of your form
var thisForm = "form1";
// load field names and default values into list
var defaultVals = new Array();
defaultVals[0] = new Array("date", "(Date here
On Thu, Jun 3, 2010 at 7:26 PM, Steve Marquez
wrote:
> Good morning,
>
> I have a PHP form that I have been using for some time now on a Macbook Pro
> running PHP 5.3.1 and MySQL 5.0.5 and everything was working fine. But this
> morning, when I submitted (it is a journaling application) it came
On Thu, 2010-06-03 at 08:56 -0500, Steve Marquez wrote:
> Good morning,
>
> I have a PHP form that I have been using for some time now on a Macbook Pro
> running PHP 5.3.1 and MySQL 5.0.5 and everything was working fine. But this
> morning, when I submitted (it is a journaling application) it c
> thank god that some guys make it
> simple for us ;)
You're welcome. :-)
--
Richard Heyes
HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org (Updated December 5th)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
jeffery harris wrote:
> I need to create a php form and mail it to a recipient (that I can
> do). My question is how do I create an area for a file (.doc, or .pdf)
> to be attached emailed along with other form data as well?
>
Take a look at an email you've received with an attachment. That's ho
Thanks for the info! sweet!!
"Kastner Mario" wrote in message
news:200812180603.34938.off...@unite-it.at...
> use a mailer class, for example phpmailer, to handle this. man i say
> emailing
> could be a very crazy job for an coder. thank god that some guys make it
> simple for us ;)
>
> http:/
use a mailer class, for example phpmailer, to handle this. man i say emailing
could be a very crazy job for an coder. thank god that some guys make it
simple for us ;)
http://sourceforge.net/projects/phpmailer
> I need to create a php form and mail it to a recipient (that I can do). My
> quest
On Wed, Dec 17, 2008 at 11:02 PM, jeffery harris <
jhar...@harris4interactive.com> wrote:
> I need to create a php form and mail it to a recipient (that I can do). My
> question is how do I create an area for a file (.doc, or .pdf) to be
> attached emailed along with other form data as well?
>
> -
On Jan 8, 2008 5:04 PM, Philip Thompson <[EMAIL PROTECTED]> wrote:
> I guess this ruins my impression of you being this 28 y/o
> programmer... grandpa! ;)
>
> Hehehe
No, they just start raising families at a very young age. Tedd is
only about seven years older than his children.
--
Daniel P
At 4:04 PM -0600 1/8/08, Philip Thompson wrote:
On Jan 8, 2008, at 11:52 AM, tedd wrote:
As I tell my grand-kids, half the people you meet everyday are
below average intelligence.
Cheers,
tedd
I guess this ruins my impression of you being this 28 y/o
programmer... grandpa! ;)
Yeah, I'm a
On Jan 8, 2008, at 11:52 AM, tedd wrote:
At 11:17 AM -0600 1/8/08, Jack Mays wrote:
>
You think someone who didn't even know how to get post data in the
first place knows how to properly sanitize it? :)
One would think that the OP would lookup "sanitize" or some form of
that search in goo
At 11:17 AM -0600 1/8/08, Jack Mays wrote:
>
You think someone who didn't even know how to get post data in the
first place knows how to properly sanitize it? :)
One would think that the OP would lookup "sanitize" or some form of
that search in google to become more familiar with the term
>
> You think someone who didn't even know how to get post data in the
> first place knows how to properly sanitize it? :)
>
One would think that the OP would lookup "sanitize" or some form of that
search in google to become more familiar with the term and what it
means, but then again I probab
On Jan 8, 2008 12:12 PM, Eric Butera <[EMAIL PROTECTED]> wrote:
> You think someone who didn't even know how to get post data in the
> first place knows how to properly sanitize it? :)
Maybe, maybe not, but the point is to mention that it should be
done to allow further exploration and study t
On Jan 8, 2008 12:00 PM, Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Jan 8, 2008 11:56 AM, 2 Logic Studios <[EMAIL PROTECTED]> wrote:
> > Daniel,
> >
> > Thanks...worked like a charm
>
> My pleasure. Just remember to sanitize the code as I said if
> you're going to do anything other than
On Jan 8, 2008 11:56 AM, 2 Logic Studios <[EMAIL PROTECTED]> wrote:
> Daniel,
>
> Thanks...worked like a charm
My pleasure. Just remember to sanitize the code as I said if
you're going to do anything other than display it in the text box.
Otherwise, a malicious user (or possibly even a ty
On Jan 8, 2008 11:19 AM, 2 Logic Studios <[EMAIL PROTECTED]> wrote:
> I am trying to create this kind of form
> http://www.12monthinternetmillionaire.com/affiliate.php
>
> a user inserts their clickbank id and its generated in the field
> belowany pointers ?
Yes. Hire a programmer. ;-P
if (preg_match("|\r\n|", $_POST['email'])){
die("Spammer.");
}
if (preg_match("|\r\n|", $_POST['subject'])){
die("Spammer.");
}
//and so on for anything you put into headers.
//body can contain newlines, of course.
On Sat, June 9, 2007 8:22 pm, Austin C wrote:
> how can I tell them not to incl
The return value of http://php.net/mail only says whether or not PHP
managed to queue up the email to go out.
It does *NOT* imply that the email actually went anywhere.
If your server isn't running through the queues and sending the
emails, they don't go out.
If your server is rejecting the emai
At 7:01 PM -0700 4/5/06, Jai Rangi wrote:
Greeting,
I hope this is the right place for this. If not please guide me.
I am having problem with my "Form". Code is below. I want to
generate an error message if the required fields are not filled. If
they are filled then I want to add them to the da
Jai Rangi wrote:
Dear Chris,
Thank you for your response. I will make sure to start a new thread for
future.
I tried this but it did not work
if (isset($_POST['title'])) {
$title = htmlentities($_POST['title']);
echo $title;
} else {
$title = '';
}
This part of my code seems to be t
Dear Chris,
Thank you for your response. I will make sure to start a new thread for
future.
I tried this but it did not work
if (isset($_POST['title'])) {
$title = htmlentities($_POST['title']);
echo $title;
} else {
$title = '';
}
This part of my code seems to be the problem, Though
Jai Rangi wrote:
Greeting,
I hope this is the right place for this. If not please guide me.
I am having problem with my "Form". Code is below. I want to generate an
error message if the required fields are not filled. If they are filled
then I want to add them to the database and display the fo
u can also work out like this:
$email_err ="Please enter your email address!/span>/>";
$message_err = "Please enter a message!";
this wil also work perfectly alrite.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Pasting your page onto my server and commenting out your includes the
following lines stand out:
$email_err ="Please enter your email address!";
$message_err = "Please enter a message!";
You have quotes within quotes here. You should either escape the inner
quotes or use single quotes to defin
When you access /foo, the server will redirect the client to /foo/
(because it is a directory). At the redirected page, the post data will
not be sent again by the browser thus there are no _POST values.
Try using action="/foo/". That may work.
Yes, /foo/ does work.
The explanation makes sense.
Hi,
Monday, January 10, 2005, 12:04:28 PM, you wrote:
JI> I just narrowed something down about forms and POST and would like
JI> education. In the following scenarios, all work except #4. $_POST is
JI> null. Why is that?
JI> Setup:
JI> 1) Running on localhost
JI> 2) /foo/index.php has the follo
When you access /foo, the server will redirect the client to /foo/ (because
it is a directory). At the redirected page, the post data will not be sent
again by the browser thus there are no _POST values.
Try using action="/foo/". That may work.
- Original Message -
From: "James (IFMS)"
> If (formfieldname = empty())
[snip]
$value = "0";
if(true==empty($value)) {
echo "it's empty";
}
[/snip]
May be good to know.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
if (empty($_REQUEST['formfieldname'])) {
//do something
} else {
//do something else
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Monday 19 July 2004 07:34, Harlequin wrote:
> Simple as that eh...?
>
> If (formfieldname = empty())
The canonical form is:
if (empty($doo)) { ... }
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intrane
not enough =s.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Simple as that eh...?
If (formfieldname = empty())
{
Do something
{
Else
{
do something else
}
??? am I on the right tracks...?
--
-
Michael Mason
Arras People
www.arraspeople.co.uk
-
"John W. Holmes" <[EMAIL PROTECTED]> wrote i
Harlequin wrote:
Just wondering if there's a quick and easy way to validate form fields using
PHP.
Not really that concerned with actual content by using REGEX but want to
ensure users have at-least bothered to put something in and if not display
an error with the form field's name maybe.
empty()
-
Does anyone use this service with PHP and would it be
possible to see some sample code on how you format the
email/message to their server?
I couldn't find any information on PHP and utilizing
their service, or how the message needs to be
formatted.
Thanks!
--- Jeff McKeon <[EMAIL PROTECTED]> w
r user chooses to send via fax, the message is transparently relayed to the
email/fax gateway.
Edward Dudlik
Becoming Digital
www.becomingdigital.com
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, 25 September,
On Friday 26 September 2003 02:48, J J wrote:
> I know in the past it wasn't possible to do something
> like have a user fill out a web form and that
> information would then be sent to a fax machine. This
> would require some sort of dialing abilities on the
> server.
Still does.
> Is there any
Thanks Ray but i've found the problem and sorted it. :-)
Steven M
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Johnathan
Thanks I've got it now, hidden fields did the trick. :-)
Steven M
"Jonathan Villa" <[EMAIL PROTECTED]> wrote in message
004301c2d851$24ac2fd0$8600a8c0@inhocvince">news:004301c2d851$24ac2fd0$8600a8c0@inhocvince...
> How is the information being kept? Sessions? You'll either want to
Please provide more information...ie source code so we can find the
problem.
Ray
On Wed, 2003-02-19 at 13:14, Steven M wrote:
> Hi,
>
> I have created a form that passes details to the next page so the user can
> see the details they have submitted before clicking confirm to submit to the
> dat
How is the information being kept? Sessions? You'll either want to
store them in a session or create hidden fields on the confirmation
page, then when they click on confirm, you'll have access to the fields
on the new page, (the page where your processing script is)
---> Jonathan
-O
Hi,
on 17/11/02 7:58 AM, Keith Spiller ([EMAIL PROTECTED]) wrote:
> Does anyone have an idea how I can make the php script gather all the multiple
> &browser=lynx&browser=mosaic&browser=explorer
> instead of only the last entry?
That URL is like writing:
And expecting that $foo contains both
Put the brackets for php...
Now, to loop through the elements in JavaScript, you're going to have to
do something like this
var test = false;
for ( i = 0; i < document.forms[0].elements['myname[]'].length; i++ )
//code for whatever you want to do here
//if you want to check if at least o
Hi Keith:
Unfortunately, the information has to be sent to php. As soon as I
add the [] brackets to
an input name, the javascript no longer functions. I'll look up a
javascript mailing list next,
but I figured there must be some other way to get php to recieve the
data and convert it
to an a
Tine wrote:
Greetings,
Forgive my newbism here, but I am having a hard time recieving check(box)ed
items from a form sent to e-mail using PHP.
The code is as follows:
//Routine for checkboxes
$MailBody .="Type medlemskap : ";
$items = 2; //initiate possible # of items
for ($i = 1; $i
> Please don't answer with "Tried that" without showing us your new HTML and
code
> Show us the new code.
Sorry - found my mistake. I had forgotten to include a hidden input field
:oO
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Rick Emery" <[EMAIL PROTECTED]> wrote in message
news:03f901c27f5a$2bab0e50$0500a8c0@;honeybee...
> What is $medlemskap[]???
? I just modified it from the default code:
//Routine for checkboxes
$MailBody .="Question 8 : ";
$items = 3; //initiate possible # of items
for ($i = 1; $i
If I remember correctly checkboxes literally do not exist on the posted
pages if they don't get checked on the form page. So maybe you can use
isset or something like that to see if the checkbox exists if so make it
checked if not show it unchecked.
Hope that helps.
On Tue, 2002-09-24 at 11:24,
Use either session to "remember" the checkboxes' name/value pairs or
hidden fields.
Tom Ray wrote:
>I'm having a small problem with a form I'm designing and I hope someone can
>point me in the right direction here. The form's function is rather simple
>actaully. It's supposed to take the inform
On Sat, Aug 10, 2002 at 09:14:03AM -0700, Daniel Guerrier wrote:
> How do i execute a form post with php?
> I want to validate CCard info etc.. then perform the
> post with no furtheraction from the user.
>
> Basically If not valid stay here and show whats wrong
> ELSE post form to process.php
D
>From: "Daniel Guerrier" <[EMAIL PROTECTED]>
>Sent: Saturday, August 10, 2002 12:14 PM
>Subject: [PHP] PHP form port
> How do i execute a form post with php?
> I want to validate CCard info etc.. then perform the
> post with no furtheraction from the user.
>
> Basically If not valid stay here an
either do this
$your vars = value
include process.php;
or
header "process.php?your_var=value&your other stuff";
or
$url = http://www.yourserver.com/process.php?your_var=value&etc;
$contents = file($send);
This will execute your php file and return into $contents the html that is
outputed. You
>From: "Daniel Guerrier" <[EMAIL PROTECTED]>
>Sent: Saturday, August 10, 2002 12:14 PM
>Subject: [PHP] PHP form port
> How do i execute a form post with php?
http://www.php-faq.com/postToHost.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
> I am experiencing problems with receiving form data into my
> scripts. The phpinfo() function shows me:
>
> PHP_SELF
> _POST["Action"] checkEmail
> _POST["emailAddress"] st
> _POST["submit"] Next >>
> _COOKIE["uid"]
> _COOKIE["emailAddre
Hi Brian
I would need to email it as an attachment.
Thanks
Mohamed
- Original Message -
From: Brian Clark <[EMAIL PROTECTED]>
To: PHP is not a drug. <[EMAIL PROTECTED]>
Sent: Saturday, January 05, 2002 8:23 AM
Subject: Re: [PHP] php form
> * M.E. Suliman ([EMAIL PROT
* M.E. Suliman ([EMAIL PROTECTED]) [Jan 05. 2002 00:22]:
> Hi
Hello
> I'm pretty new to this PHP thing so this might sound a bit stupid, or easy
> for the pros out there. I need a basic php form that when submit is clicked
> all the information filled in that form is either generated into an h
> It's more of a pain if I have to remember what order the parameters go
Yeah, good point. I can see that. What i have been doing is componentising
the page into functions which are responsible for rendering a discrete
section of that page...ie if a page consists of a title bar and a form and
t
Andrew Halliday wrote:
>
>
>Ive coded in both PHP and ASP and in both OO and function oriented.
>Ultimately, i find functionally oriented PHP to be the best ... what do
>other people think?
>
As much classes/objects as possible, imo. 'functions' by themselves are
OK for smaller stuff,
but when
>> Ive coded in both PHP and ASP and in both OO and function oriented.
Ultimately, i find functionally oriented PHP to be the best ... what do
other people think?
Having learnt how to program using Basic when I was 8, I had to unlearn a
lot of things as I moved from Basic to Pascal (what? I can't
Many of my other scripts i use functions, and classes, first time i used
cases and switchs..was fun but i still like to use loops and functions more
:) hehehee
- Original Message -
From: Andrew Halliday <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 6:29 PM
Subject
71 matches
Mail list logo