| |
thread by: R. Rajesh Jeba Anbiah |
last post Oct 3 '05 by: R. Rajesh Jeba Anbiah
Is it necessary or is there any standard to send HTTP header status
for form inputs ? Say, the user is entering invalid password in login
form and now all the applications I have seen are just displaying error
messages above the form (with HTTP status 200); is it necessary to send
401 status in this case?
--
<?php echo 'Just another PHP...
|
thread by: Smitro |
last post Oct 3 '05 by: Adam i Agnieszka Gasiorowski FNORD
Hi,
How come in some statements I can use:
If (something) or DIE();
but other times it won't work (returns an error) unless I take out the
OR.
Is there any documentation on this anywhere?
|
thread by: www.douglassdavis.com |
last post Oct 3 '05 by: NC
Say I am retrieving an object from a function...
The object really has no distinguishable type as far as my code can
tell (It's from a SOAP function, the objects returned do not have
different types).
$client = new SoapClient("/geocoder.wsdl");
// Retrieve the address coordinates
$result = $client->geocode($address);
|
thread by: yelena |
last post Oct 3 '05 by: yelena
Hello,
We need to use version php-4.4.0-Win32 because one of the portal software
doesn't support version php-5.0.5-Win32. We cannot get the PHP setup part
working. Here is the error message:
Windows Script Host
Script: C:\kits\test.wsf
Line: 3
|
thread by: GoGs |
last post Oct 2 '05 by: Colin Fine
i'm a newbie to PHP, just starting of. i've got a couple questions, and i
would be very thankfull if you could answer them in details...
1. how can i find out if my server supports PHP?
all i know is that it doesn't support ASP...
2. i'd like to insert a small frame from some html page to my html page,
but i don't want to do this with...
|
thread by: Marcel |
last post Oct 2 '05 by: Colin Fine
I'm creating an application with which I can update values in a MySQL
database.
Each row of the database table is a web page with a form. After updating the
fields, the new values are passed on the database table by pressing the
Submit-button. So far, no problems. Then I want to go on to the next page,
so I was hoping that something like this...
|
thread by: csheppard91 |
last post Oct 2 '05 by: csheppard91
Forum commuication is easier, and I've just started a new forum and
would like to invite all of you to sign up and post there. I'm still
looking for moderators and anyone who will help out. If you are
intersted: www.wizardsolutionsusa.com -- follow the forum link.
Remember it doesn't take but a minute of your time to sign up, so help
me...
|
| |
thread by: Mike P |
last post Oct 2 '05 by: R. Rajesh Jeba Anbiah
I'm using MamboServer for my site, and have switched from SEF URLs to
standard URLs. Of course, I'm indexed everywhere with the SEF urls. I'm
trying to write a script, so that users and search engines can find the
pages using the new url. My goal is, that if I can decode the URL they're
requesting, I'll send them a 301 header and redirect...
|
thread by: PaowZ |
last post Oct 2 '05 by: PaowZ
Hi there!
I'm trying to setup a function which could resize some jpgs 'on the
fly', I want them to be displayed into the browser.
Here is my function:
function Get_Redim_Jpg($file_jpg){
Header("Content-type: image/jpeg");
$src_im = ImageCreateFromJpeg($file_jpg);
|
thread by: Thierry |
last post Oct 2 '05 by: Thierry
Hello,
The function md5 encrypts a string :
md5('hello') --> 5d41402abc4b2a76b9719d911017c592
But how do we uncrypt a md5 string ?
function('5d41402abc4b2a76b9719d911017c592') --> hello
|
thread by: Chris |
last post Oct 2 '05 by: cover
Can anyone advise me or point me to examples where I might figure out
how to populate the pulldown below automatically with a query when the
page is first opened?
I have a database with the dogs names in there that I would very much
like to populate through a db query of that table versus having to
hardcode the box when changes occur. ...
|
thread by: Geoff Blake |
last post Oct 2 '05 by: Minn Myat Soe
I'm new to linux and I'm trying to set up a LAMP server using Fedora 4
I installed all the relevant packages and have Apache serving static pages
ok, however I am unable to access MySql. PHPinfo() tells me that PHP was
built using "--without mysql" in the configure command.
Is there a logical reason why they would do this?
Will all PHP...
|
thread by: fipaj1992 |
last post Oct 2 '05 by: fipaj1992
Hi!
I'm working on Ubuntu 5.04 operating system. Yesterday I installed PHP
5.0 from package and some modules (php5.0-mysql).
I have installed MySQL 4.1 server and client.
But when I'm trying to connect with MySQL, I see error, that
php5.0-mysql is not installed. But it's installed, I'm sure!
Result of phpinfo() is that PHP don't see MySQL...
|
thread by: Vic Spainhower |
last post Oct 2 '05 by: Kim André Akerø
Hello,
I am trying to get the value of the Auto-Incremented key that was assigned
using LAST_INSERT_ID(). However, when I execute the following PHP statements
after the insert I only get: "value of entryID: Resource id #7" after EVERY
insert (it never changes).
What am I doing wrong?
Thanks very much!
|
thread by: alistair.calder |
last post Oct 2 '05 by: Tim Roberts
I use a PHP script as a random image selector. I would like to add a
small 'footer' image to the bottom of each one at runtime. I change
the pool of images regularly so it is not something I want to do in
photoshop, rather, I would like to find a way to do this in PHP.
Is there a way to attach two images together in this way so that they...
|
| |
thread by: seegle |
last post Oct 2 '05 by: seegle
ÊӸ߿Ƽ¼ÊÓƵ»áÒéרҵÊÓƵ»áÒ鳧ÉÌ,»ùÓÚIPÊÓƵ»áÒéÓ¦ÓÃ,»ùÓÚרÏߺÍIPµÄH.320&H.323Ë«Ð*ÒéÊÓƵ»áÒéÓ¦ÓÃ,»ùÓÚADSL½ÓÈëµÄÊÓƵ»áÒéÓ¦ÓÃ,»ùÓÚÎÀÐǵÄÊÓƵ»áÒéÓ¦ÓÃ.
ÊӸ߿Ƽ¼<a
href=http://www.seegle.com>ÊÓƵ»áÒé</a>ÊÓƵ»áÒé,µçÊÓ»áÒé,ÍøÂçµçÊÓ»áÒé,Ô¶³ÌµçÊÓ»áÒé,ÊÓѶ²úÆ·,ÍøÂçÊÓƵ»áÒé,ÍøÂç...
|
thread by: sandwich_eater |
last post Oct 2 '05 by: sandwich_eater
I tried installing with the mysql switch and get a message saying
"note mysql is not bundled with client library anymore..."
I think the mysql client RPM is installed, although I should check it
because I got a warning ("nokey" or suchlike, going from memory because
my linux is not online) when I used "rpm -i" command on the mysql
client...
|
thread by: needaticker |
last post Oct 1 '05 by: Darkstar 3D
Hi All,
I've created a new table (eg/ 'XM_newtable') on my database and in it I
have a single field (eg/ 'newfield')
I have entered 100 values under the 'newfield' and what I need to do is
display these values at random wherever I insert a bit of code.
My problem is that I don't know what bit of code to insert
|
thread by: elyob |
last post Oct 1 '05 by: Adam i Agnieszka Gasiorowski FNORD
Hi,
I'm looking at storing snippets of details in MySQL about what credit cards
a business excepts. Rather than have a whole column for Visa, another for
Amex etc ... I am looking at having a column called payment types and
inserting multiple codes ... e.g. ViAmBcCa
Is this a good way of doing things? To me it'd be a lot cleaner and limit...
|
thread by: Justin Koivisto |
last post Oct 1 '05 by: Adam i Agnieszka Gasiorowski FNORD
Does anyone know what the name of the => operator in PHP is? It is
something that is nearly impossible to search for, and I am not sure if
it even has a name. I know that there has been a couple php-dev people
in here before, so maybe someone kind throw me a bone... ;)
--
Justin Koivisto, ZCE - justin@koivi.com
http://koivi.com
|
thread by: smorrey |
last post Oct 1 '05 by: Adam i Agnieszka Gasiorowski FNORD
I've been thinking on this long and hard, and I can't seem to come up
with an answer on it.
Why is it almost always assumed the MySQL will be the server for nearly
any PHP app?
Why is it MySQL and not PostGRES or SQLite?
At this point the only reason I can think of is that MySQL has a much
more friendly name. But is that really it?
|
thread by: BN |
last post Oct 1 '05 by: Janwillem Borleffs
I got this error:
Call to undefined function imagecreatetruecolor() ...
Did I not enable something in the configure script? How do I enable this
function?
Thanks
|
thread by: thierry |
last post Oct 1 '05 by: alex
Hi,
I would like to parse an html file containing several link with userid
in order to retrieve all userid and put them into an array.
Here is what my html looks like :
....r"><a href="userprofile.php?userid=346047" ><img s...
And want : array("346047", ...);
|
| |
thread by: Mikel Astiz |
last post Oct 1 '05 by: Tony Marston
Hi,
I am looking for a simple way to detect session ends so I can update a
session table. I am new to PHP and don't understand how such event can be
handled, since there seems not to be a corresponding overridable function.
I've found 'register_shutdown_function', but apparently it detects
connection breaks while the page is being loaded...
|
thread by: C16 |
last post Sep 30 '05 by: C16
Hi All
Another newbie question. I have a small website working via php and all is
fine, but I wanted to add some new features and was wondering if php allows
for variables to be seen by multiple sessions, ie a user viewing the web
site on one machine can see variables created by another users session. Is
that what $_SERVER is for, or am I...
|