Jim Webber wrote:
Hello I'm building a website with a search engine.
Do you think it is more usable if the search interface had a search
button? or do you think it will be more convenient to not have button to
let the users just push "enter" to search.
I would appreciate any comment regarding
Xavier de Lapeyre wrote:
You should try the HEREDOC structure.
See link: http://php.net/heredoc
It should look to something like:
$myblokvar = <<
Welcome $name to this website!
<<
Xavier,
You should test this before you send it.. it doesn't even pa
php mail wrote:
Hi All,
Is it possible to assign variable to a block of html code ?
Something like this :
$myblokvar = "
Ross wrote:
I have this postcode selector working on my localhost but remotely it gives
a parse error. It should only call the function when the postcode is
submitted. Any ideas?
The error is:
Parse error: parse error, unexpected T_NEW in
/homepages/3/d154908384/htdocs/legalsuk/consultants/
I completely agree there.
Darren
独身貴族の生態系 wrote:
> ルックスが悪いわけじゃない。仕事を頑張りたいだけが理由じゃない。
> 「だったらなぜ?」それは当然の疑問です。リサーチの結果これほど性的に飢えた人種はいないという事実が発覚し分離改装となりました。
> 今回のご案内はこちらです!
>
>■□■ 完全無料制・独身貴族攻略大全集 ■□■
> 家庭を持つ安定 < 独身の自由な性生活
> http://fochun.com/kouryaku/4/
>
> 1・コミニティーとして使用するも良し・出会いのキッカケとして使用す
Xell Zhang wrote:
Hello all,
I met a very strange problem today. Take a look at the codes below:
for ($i = 'A'; $i < 'Z'; $i++) {
echo $i . ' ';
}
If you think the output is A-Z, please run it on your server and try.
Who can tell me why the result is not A-Z?
The result doesnt include the 'Z
Dan wrote:
I'm looking for a way to introduce PHP to some Delphi programmers, so I
thought a comparison would show them the major differences, but I can't
find anything like that on the web. Anyone have an article like that or
know of one?
- Dan
There's a HUGE list of differences, as they
I'm really looking into using PHP as an all-round scripting language.
I'm looking for a native looking UI toolkit, which takes PHP-GTK out the
question.
I've seen wxWidgets but I can't find any bindings for PHP, unless
anybody knows of any that I can't find?
Or, if anybody knows of any other
I'm currently creating a socket cerver class, similar to Twisted for
python. I have a simple socket server working now, but would like to
extend it using threads.
I've done a fair bit of research on threads in PHP in the past, but
coming up to the conclusion that there is no way to have real m
kvigor wrote:
Hello,
I 'm checking form data for profanity but it only works if the
$_POST['var'] is lowercase I was wondering if anyone knew how I could catch
the profanity no matter what case it was. No matter if it was BAD or bad or
mixed like BaD?
Instead of the long way:
if ($value =
Robert Cummings wrote:
On Thu, 2007-06-14 at 12:45 +0100, Stut wrote:
Hi All,
I've been asked to be a judge in a PHP competition, and I thought I'd
let you all know about it. Zend have donated some prizes, including a
copy of Zend Studio Professional with 1 year of support, so it's
definitel
dave peaachepea wrote:
storeFile();
}
?>
I'm not a programmer, and I'm very new at php so im sure there are errors
and stupid logic in my code.
It would be greatly appreciated if anyone here could critique and rip apart
my code.
thank you,
-dave
A bit easier:
// Not sure where y
Yamil Ortega wrote:
Ok, but what happens if I change server and there is no more apache2
directory?
Do I have to change all the headers in my 37 web pages?
The same code in 37 pages??? Place the code in 1 page, and use
require("my_code_page.php"); where you need it in your scripts. You will
Dave Goodchild wrote:
Unless some server config error causes that stuff to be output on the page?
I tend to put such functions in a .inc file and amend the .htaccess to
prevent download.
If you were to include or require the .inc page and an error was to
occur, it would still be printed out.
Ross wrote:
I have a page of functions that I include in my page head. In this I have a
function to connect. I can then just call this on each page when i need it.
Does doing it this way cause any potential security risks?
function connect() {
$host="localhost";
$user="x";
$password="x
Michelle Konzack wrote:
*
* Do not Cc: me, because I am on THIS list, if I write here.*
* Keine Cc: an mich, bin auf DIESER Liste wenn ich hier schreibe. *
* Ne me mettez pas en Cc:, je suis sur CETTE liste, si j'ecris
look at the subject ;)
that's how I guessed what he wants
Woops, missed that. You have a good point there :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Zoltán Németh wrote:
2007. 06. 5, kedd keltezéssel 11.38-kor Darren Whitlen ezt írta:
karthi keyan wrote:
Hi,
Is there any way to print the reason why the query has been failed, like the way MySQL-PHP has mysql_error()?
Regards,
KARTHIK
karthi keyan wrote:
Hi,
Is there any way to print the reason why the query has been failed, like the way MySQL-PHP has mysql_error()?
Regards,
KARTHIK.
-
Download prohibited? No problem! CHAT from any browser, without download.
I'm confuse
blueboy wrote:
On my localhost this works fine
$result= mysql_query("SELECT date_format(date, '%d/%m/%Y') as date, title,
id, display FROM NEWS");
while ($row = mysql_fetch_assoc($result)) {
but on my remote i get a mysql_fetch_assoc(): supplied argument is not a
valid MySQL result resource
Chris Boget wrote:
If there is no need to return a value then I don't do
so. However, the function is going to process something,
and surely you should check that the processing has
succeeded or failed?
This is precisely the point I was going to make. Unless an argument is
passed in by refer
Matt Fielding wrote:
I've recently begun work on a web-based RPG game with some friends, and
have
recently been thinking about the best solution for loading and saving
persistent variables like player life/stats and other information. I am
both
familiar with sessions and mysql for saving and l
Zoltán Németh wrote:
2007. 05. 29, kedd keltezéssel 10.29-kor blueboy ezt írta:
Hi,
I am using tinymce to save news articles with very basic html styling in a
database. This works well upto a point but when I get over a certain number
of characters and then the 'you have an error in your SQL
Jared Farrish wrote:
On 5/25/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
I apologize for posting the entire add script, but I wasn't sure what
was needed to check if I was doing it right or not. I figured in this
case it was better to give to much info rather then not enough. My
big main goal it
Richard Lynch wrote:
On Wed, May 23, 2007 4:27 am, Darren Whitlen wrote:
John Comerford wrote:
Not thought about the memory engine actually. Will give that a try and
see how it turns out.
Let us know.
Finaly managed to get it going (uses AJAX which im not to great at..),
and the database
Jason Pruim wrote:
Hi Everyone,
I think I have found away to prevent SQL code injection into my database
and just wanted to get everyones comments on my method.
if (!isset($_POST['FName']) || empty($_POST['FName'])) $errmsg
.="Please enter your name";
if (!isset($_POST['LName']) || empty($_P
Stut wrote:
Jean-Christophe Roux wrote:
Thank you for the answers. The issue is that the same codes are in
folders A and B. When they are run from two different browsers, I am
getting the behavior I 'd like to see with two session ids being
created and therefore no sharing of $_SESSION variabl
Jean-Christophe Roux wrote:
Hello,
Thank you for the answers. The issue is that the same codes are in folders A
and B. When they are run from two different browsers, I am getting the behavior
I 'd like to see with two session ids being created and therefore no sharing of
$_SESSION variables.
Jean-Christophe Roux wrote:
Hello,
I have folder A with the following php script:
in folder B (same level as A), there is
when running the script in B, in can see the value 10. How can I make sure that
the $_SESSION['dummy'] is not shared between the two scripts? I could change
the name but t
Marco Sottana wrote:
i would like a one to one chat .. no one to everybody
- Original Message - From: "Darren Whitlen" <[EMAIL PROTECTED]>
To:
Sent: Thursday, May 24, 2007 10:05 AM
Subject: [PHP] Re: instant messenger php + ajax
Marco Sottana wrote:
hi i am lookin
Marco Sottana wrote:
hi i am looking for an instant messenger for my web site
i would like to enable also not register user to chat to the other not register
user in my web site..
where i can find a source code like this ?
Lots of the them out there.. google "php ajax chat"
My personal favour
Adz07 wrote:
i want to set up a php server that can communicate with a client (CLI PHP
Script). I can setup the server socket fine. What i need to know is whether
it is possible for the client to call a function in the servers php code and
the server return the data ready for the client to proces
Dan Shirah wrote:
Okay, I think I'm doing everything right, but for whatever reason my
include
isn't working.
The echo of my status_code retruns the correct value so the if should
trigger.
This is my include page:
VERY simple, but for some reason is not working
change this line:
i
John Comerford wrote:
How about a table using the mysql memory engine ?
Darren Whitlen wrote:
Hi,
I have a PHP script that reads and updates either a small file or a
mysql database. This script is called from several places every .5
seconds.
I would like to move this file to a variable for
Stut wrote:
Darren Whitlen wrote:
I have a PHP script that reads and updates either a small file or a
mysql database. This script is called from several places every .5
seconds.
I would like to move this file to a variable for extra speed as the
file is causing a few problems being
Hi,
I have a PHP script that reads and updates either a small file or a
mysql database. This script is called from several places every .5 seconds.
I would like to move this file to a variable for extra speed as the file
is causing a few problems being accessed so many times.
Is it possible t
36 matches
Mail list logo