Description:
PHP, server side scripting.
|
|
|
PHP Contact Form, mt-rand(), problem Validating 1 input
|
| |
Hi, Newviw here;
Win 7 Home Premium, XAMPP 1.7.3, PHP 5.3,
Two pages: Form.php, check.php (& thanks.html).
They work fine; sends e-mail, formatted, and readable.
Form.php:
$d=($a.$b.$c);
echo "Your code is : " .$d." Enter it in the box below, including dashes : <br />";
<form action="Check.php" method="post">... more »
|
|
cause of error is what?
|
| |
Can't get past the error message.
Could not run query: You have an error in your SQL syntax; check the manual
that corresponds to your MySQL server version for the right syntax to use
near '' at line 1
[link]
<?php
$year=$_GET["year"];
if (empty($year)) {$year=1900;}... more »
|
|
values not changing
|
| |
[link]
I am attempting to change the play list given the year selected.
However, regardless of which year is chosen, the code selects only the
originally loaded playlist.
What am I missing?
<?php
$year=$_GET["year"];
if (empty($year)) {$year=1900;}
$year=(int)$year;
echo $year;... more »
|
|
no date header in mail()
|
| |
...The date should be handled by the underlying MTA. Outside of PHP altogether.
But usually you can insert a header to override that if it ain't working.
i.e. the mail function has a 'headers' section., so you can add the correct date to that.
I'd guess you are on 'someone elses' server and they have monkeyed with... more »
|
|
insert PDF table in database
|
| |
Hi All
What i want is to read content in PDF table and convert it into either XML or associative array to be inserted in database on the fly.
I have gone through many libraries on net providing text extraction from PDF and converting in array but that array does not seem to be useful as its not associative array and array indexing is also not proper.... more »
|
|
comma placement problem
|
| |
This does exactly what I want except that when 1969 is reached, the commas
don't get placed where I want them.
I need the commas on every line except for the last line.
which is why I put the conditional just before the \n.
$year=1960;
$number=1;
$number=(int)$number;
$year=(int)$year;... more »
|
|
Problem with quotes in javascript output
|
| |
This is not a javascript question ok?
First, the desired look of my endeavor is here.
[link]
What I am working on is here.
[link]
The problem mainly deals with required quotes in the javascript output.
Either single or double.
The code below shows you what I have been trying.... more »
|
|
php run captcha script on localhost
|
| |
Hi
I'm trying to implement a php html javascript form with captcha validation. I'm trying to run the script from this page:
[link]
as a localhost page on my computer. Nothing is showing. The @imagecreate is not showing anything.
My system runs windows 7 and Php, MySql and Apache server installed separately. Is there any configuration to do with for instance php.ini or Apache conf file?... more »
|
|
|