| |
thread by: crowl |
last post Jul 16 '05 by: Bruno Desthuilliers
I'm looking for a tool which generate a documentation of my php
program using the comments from the source code.
I searching via google and have find a lot of tools to do so. I have
tried doxygen and it work, suddenly not really good with php files.
Can someone recommend a program?
|
thread by: abs |
last post Jul 16 '05 by: abs
This is my script test.php:
<?
session_start();
if($_SERVER == "POST") check_form();
if(session_is_registered("ok")) {
echo "it is ok"; //here's the
problem
session_unregister("ok");
|
thread by: Rod |
last post Jul 16 '05 by: Rod
Hi,
a quick question.
is it possible to send the header to the client only at the end of the page?
I mean when the build of the page by the PHP server is finished.
This is because I want to redirect the user to a error.php page each time an
error occurs.
But when doing that, I get an error saying that the header has already been
sent.
|
thread by: Mark Wilson CPU |
last post Jul 16 '05 by: Mark Wilson CPU
I upgraded my local Nuspere installation with the newer PHP
(see notes below); I installed the 4.3.2 version, using the
installer ("blind", since I never heard back from anyone who'd done
it themselves). It runs, but there's a problem. Every time I
start a PHP file, I get a popup error message to the effect
"... zend_ptr_stack_push could not...
|
thread by: Rudzik |
last post Jul 16 '05 by: Gary Pigott
Hello
I have a following problem ...
..... at the bottom of the page on printout is visible line http:// ...
Is there ANY possibilities to remove this line.
B.R.
Rudzik
|
thread by: Craig Putnam |
last post Jul 16 '05 by: Craig Putnam
This function:
function queryDataConnection($query) {
return mysql_query($query) or die("Oops");
}
doesn't seem to properly return the result set, since this script:
$resultSet = queryDataConnection("select * from articles where
id=$id");
|
thread by: PhilM |
last post Jul 16 '05 by: PhilM
Kindly break out the 4x2 and bring me to my senses.
I seem to have gotten myself totally confused with php.net, mysql.org pages
on dates etc, as well as groups.google.
Could someone explain, even using pseudo code, how to take a text input I
have set up as YYYY-MM-DD using php, and convert to a value mysql will
insert into a Date (not...
|
| |
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: Andrew Conner |
last post Jul 16 '05 by: Andrew Conner
Hello,
I am writing a php script that will grab information from another site, and
the script should work well, but the site needs the user to accept 2 cookies
to view ine information. How can I do this in PHP? I looked into the cURL
classes, and found the cookie functions, but I just can't figure out how to
put it together.
Eventaully, I...
|
thread by: Jez |
last post Jul 16 '05 by: Jez
I'm ashamed that I need to ask this question. I've been using PHP for
almost a year now, and have used HTML extensively in the last few
years.
Often, when I create a new site, I use include() to add an HTML header
at the top of the page and a footer (ususally including a menu) at the
bottom.
Up to now I've created two or more copies of...
|
thread by: Christoph Nothdurfter |
last post Jul 16 '05 by: Agelmar
Hallo!
I was wondering if my PHP4-Scripts will run under PHP5 (Haeven't tried the
beta yet).
Does anybody know?
Thank you,
-Christoph
|
thread by: dSchwartz |
last post Jul 16 '05 by: dSchwartz
This may not be a big deal, but I'm just kinda curious. If I have a
page that submits a form to itself, when is it better to assign each
element in $_POST to a variable to use for the rest of the page?
My situation probably doesn't make a difference, but say I have about
10 form fields, and when the page is posted back to itself, i call...
|
thread by: Mike Shallop |
last post Jul 16 '05 by: Mike Shallop
I've recently done an upgrade installation to SuSE PRO 8.2 from
same/8.0.
The problem now is that I don't seem to be receiving data from forms
to PHP-processing pages using either POST or GET for the form method.
When I use GET, I see that the URL has been correctly formed with the
variable name embedded in the URL along with the properly...
|
thread by: lawrence |
last post Jul 16 '05 by: lawrence
Right now, over at www.monkeyclaus.org, the following script is
getting to the 9th run through and dying after the line:
echo "...";
You'll admit that is a strange place to die. I've hit refresh several
times and it keeps happening. When I view page source, the last thing
that shows up is the "...". The date doesn't print, nor does the...
|
thread by: Lance |
last post Jul 16 '05 by: Lance
I need help with having a Login Form on a website that goes to a
member only section, to beable to check my forum database so that when
people register, they register on my forum, and at the same time
register in the form for the member only section. Also, when they
login to the website form, they also login to the forum. I am using...
|
| |
thread by: Weston C |
last post Jul 16 '05 by: Weston C
I'm having some trouble with Mail_Mime... it looks as if it isn't
handling the creation of headers transparently. Here's what I'm
essentially doing:
$MimeMesg = new Mail_mime();
$MimeMesg->setTxtBody($MessageBody);
$MimeMesg->setHTMLBody($filledInTemplate);
$MimeMesg->addHTMLImage($entry,'image/jpeg');
$headers = array( 'From' =>...
|
thread by: lawrence |
last post Jul 16 '05 by: lawrence
Maybe its late and I'm tired but I don't understand what I'm seeing on
the screen. I have this block of code:
$choiceMade = $_GET;
if ($simpleMode == "y" && $choiceMade == "") {
startPage();
printEasyControlPanelOptions();
endPage();
|
thread by: sentinel |
last post Jul 16 '05 by: Per Gustafsson
Hi, I'm currently writing a mulit-page form app that uses a session to
retain data from each form element in order for the user to jump
between pages, then the final data is passed to a calculation script.
However, I've noticed that if I assign a session variable to another
variable, which then performs a mathematical calculation, the...
|
thread by: Andreas Paasch |
last post Jul 16 '05 by: Andreas Paasch
Hi there,
below a little code snippet that causes me some headaches.
I had a similar one working fine, until I needed to redo my code on this one
page entirely.
Now my problem is, that the test in the first line is performed and the
variable $top_in_ord is set. Problem is only, that the following while loop
for some reason doesn't give me...
|
thread by: lawrence |
last post Jul 16 '05 by: CC Zona
I just switched error_reporting to ALL so I could debug my site. I got
a huge page full of errors. One of the most common was that in my
arrays I'm using undefined offsets and indexes. These still work fine,
but with error reporting at all they are marked as errors. Why? What
am I doing wrong?
www.monkeyclaus.org
|
thread by: lawrence |
last post Jul 16 '05 by: lawrence
I've got this $user class that has a variable called $userIsSuperRoot.
When I just set error_reporting to ALL I got an error on the last line
that I'm showing of my code down below. It says this property is
undefined. Why? Just because it tests false? Why should that be an
error? You can see that I've declared it correctly. What does PHP want...
|
thread by: David |
last post Jul 16 '05 by: Tony Marston
I am trying to prepare for my third year project which basically
consists of a dynamic web site where people can log in and create
profiles, also being able to administer the site so that statistics
can be obtained, the details of which are irelavent.
I have been learning php & mysql do implement the project and I
"thought" the end product...
|
thread by: Mariano López |
last post Jul 16 '05 by: Zurab Davitiani
I'm trying to make a multilanguage website. When the user enters the site, I want to detect the language and automatically make a redirection. How can I do this? And how should I organize my data base so the user can switch languages easily?
Thanks.
|
| |
thread by: MeNotHome |
last post Jul 16 '05 by: MeNotHome
I have a bunch of event records for various event dates.
I want to write an select state that shows the following
State Count
AZ 50
AR 2
AK 450
CO 75
CT 92
|
thread by: Ing. Thunor |
last post Jul 16 '05 by: Nikolai Chuvakhin
I want to learn PHP but I dont now how to, or what way to choose, or
are there some method to do it.....or where I have to go
Thanks
|