| |
thread by: Scott D |
last post Jul 16 '05 by: 2metre
I am trying to check and see if a field is posted or not, if not
posted then assign $location which is a session variable to
$location_other. If it is posted then just assign it to
$location_other
I keep getting "Notice: Undefined index: location_other" referring to
(!($_POST)) {
$location_other = $location;
}
else
|
thread by: Matt Schroeder |
last post Jul 16 '05 by: Marius Mathiesen
Hello everyone. I'm trying to learn php, since it seems to be more efficent
than perl. Could someone show me how I can simply print out every element of
an array, with a newline between each element? I would really appreciate
this.
Thanks,
Matt
|
thread by: James M. Luongo |
last post Jul 16 '05 by: Richard Hockey
Hello,
I am having problems with the mail() function, but I don't know what the
problems are.
Here is a snippet of code:
$to = "jmluongo@comcast.net";
$from = "Gallery@gafok.com";
$subject = "Gallery Comment";
|
thread by: Rod |
last post Jul 16 '05 by: David Mackenzie
Hi,
I have the following problem.
I am adding a new record in a table.
How can I know the ID provided by the database of the new record?
suppose my table has 3 attributes:
* ID: automatically calculated by the DB server when adding a new record
* Val1
|
thread by: Randell D. |
last post Jul 16 '05 by: stephan beal
Folks,
I use Apache/PHP with Webazlier to view the log files. I get a number of
user agents (web browsers?) that visit the website - For example:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1
Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; Win 9x 4.90)
Mozilla/2.0 (compatible; T-H-U-N-D-E-R-S-T-O-N-E)
Googlebot/2.1...
|
thread by: Ruben van Engelenburg |
last post Jul 16 '05 by: Ruben van Engelenburg
Hi all,
I noticed that when I use socket_create and socket_connect that the
socket goes into CLOSE_WAIT state immediately after receiving data. Even
when I don't use socket_close on the socket resource. Another weird
thing is that they stay in this state until the server gets booted.
When I use fsockopen it works as expected, i.e. when I...
|
thread by: Andrew Crowe |
last post Jul 16 '05 by: Andrew Crowe
Hi guys,
We're using the ISAPI version of PHP with IIS5.0
On some websites for some reason any php file in the websites root is given
the path winnt/system32 (getcwd() returns "C:\WINNT\system32"), while files
in a folder are given the correct dir.
To fix this I created a file that's included to all the files from php.ini
|
| |
thread by: Ben |
last post Jul 16 '05 by: Ben
Hi,
I have a php appilcation that connect to an imap serveur. All is right
except some message that are show in TEXT (HTML source) instead of HTML.
I see that it tis the php function imap_fetchstructure what give me sometime
a wrong answer :
For example with the message below:
|
thread by: Patrick Schlaepfer |
last post Jul 16 '05 by: Jon Kraft
Why this code is not working on Solaris 2.8 host. Always
getting:
PHP Fatal error: swfaction() :
getURL('http://www.php.net'
^
Line 1: Reason: 'syntax error'
in /.../htdocs/ming2.php on line 28
|
thread by: Bela |
last post Jul 16 '05 by: Bela
Normally users compile a php page to introduce some informations, then
these infomations are put-in in 10 different array and with POST
method passed to a result php page that elaborate and give result for
the information just inserted.
Now, I want to use a tablesheet in excel to introduce information in
more flexibility mode, and I want to...
|
thread by: Marcelo G. Nuñez |
last post Jul 16 '05 by: RG
Hey, i am working in a independent and portable
database that no need a server like MySQL.
It have some restrictions now, but it would be
best in the future with the MyCSV 0.2 version
that I am doing and will publish soon.
Visit the proyect and download, it is really useful and
if you are as me, that i do not have money for buy
a hosting...
|
thread by: Pawe³ |
last post Jul 16 '05 by: Pawe³
Jak uruchomic je w PHP?
Pawel
|
thread by: lawrence |
last post Jul 16 '05 by: lawrence
A very strange bug. www.monkeyclaus.org is run by a cms I'm
developing. One of types of users we allow is "justTestingTheSite", a
type of user I developed to give demo's to prospective clients. The
purpose of this level of security is to let someone log in and see
everything as if they were root, and yet not be able to update or
delete...
|
thread by: Beowulf |
last post Jul 16 '05 by: lawrence
Hi Guru's,
I have a query regarding using PHP to maintain a user profiles list. I
want to be able to have a form where users can fill in their profile
info (Name, hobbies etc) and attach an image, which will upload the
record to a mySql db so users can then either view all profiles or
query.. I.e. show all males in UK, all femails over 35...
|
thread by: Lothar Scholz |
last post Jul 16 '05 by: lawrence
Because PHP5 does not include the mysql extension any more is there
a chance that we will see more Providers offering webspace with
Firebird or Postgres Databases ?
What is your opinion ? I must say that i like it to see mysql replaced
by a real database (stored procedures etc.)
|
| |
thread by: Frank |
last post Jul 16 '05 by: Bruno Desthuilliers
I am in the process of evaluating PHP for use in a web based database
application but I have not seen any examples for one of my
requirements.
The requirement is a form (or a form and sub-form) that will display
both header data and detail data. An example of such a form might be
for an invoice.
It is necessary to be able to search for...
|
thread by: Richard Hulbert |
last post Jul 16 '05 by: Justin Koivisto
Hi
Can Someone tell me why This doesn¹t work:
Page 1
$_SESSION = 'A non';
Page 2
Echo $_SESSION;
|
thread by: greg brant |
last post Jul 16 '05 by: Richard Hulbert
hi,
this is a bit of an advice thing.
iv just finished a degree in multimedia, where i learned the usuals...
html
flash
director
javascript
i also learned php and i have been told that i should get to grips with xml
|
thread by: Darrell Blake |
last post Jul 16 '05 by: Darrell Blake
I'm trying to use sessions to allow people to log into my site. The problem
is that sometimes it works and sometimes it doesn't! As far as I'm aware my
script is fine (hence why it works sometimes) and I've had people tell me
it's fine too. Basically, when a user enters their username and password it
checks that against my mysql database and...
|
thread by: Corey |
last post Jul 16 '05 by: Joshua Ghiloni
Hello,
I have created a form that is sent via email and am getting the
following error:
Warning: mail() expects at most 5 parameters, 14 given in
/home/sites/site324/web/order_form_test1.php on line 277
What does this mean and how do I solve it?
|
thread by: phpkid |
last post Jul 16 '05 by: Roger Smith
Howdy
I've been given conflicting answers about search engines picking up
urls like: http://mysite.com/index.php?var1=1&var2=2&var3=3
Do search engines pick up these urls?
I've been considering converting a site of mine to PHP-Nuke, but if
the individual modules aren't picked up in search engines I'm not
going to do it.
Thanks
phpKid
|
thread by: lawrence |
last post Jul 16 '05 by: lawrence
I've read that objects should always be passed by reference to other
objects. I've also read that future versions of PHP may not support
runtime passing by reference (default passing by reference as
parameters to a function), which is how I'm doing it right now. I'm
wondering how any of you might otherwise handle this?
Is something like the...
|
thread by: Yannick Turgeon |
last post Jul 16 '05 by: Yannick Turgeon
Hello all,
I have a web page in which I create a simple PNG picture in PHP. It was
correctly displayed until I upgrade my PC. Now my little picture is a black
square!
Anyone knows the reason?
I've got those two png libraries installed. Does PHP need some more to
adequatly create and manage PNG pictures?
|
| |
thread by: Eric Haskins |
last post Jul 16 '05 by: Eric Haskins
Ok I am trying to get these loops figured out
I have 10 files being uploaded- $_FILES
I need to run str_replace on all 10 to eliminate any oddities " ","%20"
to clean up the filenames before inserting names in db.
foreach ($_FILES as $n) {
$name=$n
str_replace( " ", "",$name)
|
thread by: ratlhead |
last post Jul 16 '05 by: Richard Hockey
Hey all,
I've provided a form for a client of the company I work for that
basically emails the form data to an email address. Only a couple of
the many fields are required...nothing too fancy.
However, the sys admin has made the following request:
"All fields, not just the required fields, need validation for syntax,
shell escape...
|