Ashley wrote:
Just so that I don't start working in the wrong direction, do you mean
that I can get the same information from the activeX control directly
from PHP rather than having to do it with vbscript?
Yes, that is exactly what I mean.
I am not much of a coder so any help porting the
Colin Ross wrote:
Now, as far as I know though, there are still issues with Apache 2 and
PHP-libraries, correct?
Yes, there are potential threading problems unless you use the pre-fork
version of Apache2.
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
Jason Barnett wrote:
OK, so I built php-5.1.0-dev from source using cygwin / gcc.
- buildconf ran ok
- configure ran ok
- make ran ok
- make install failed. Output was:
Installing PHP SAPI module: cgi
Installing PHP CGI into: /usr/local/bin/
Installing PEAR environment: /usr
Read: http://php.net/manual/en/function.readdir.php
?php
$some_value = 'some_value';
$dir = './rep';
$fh = opendir($dir);
while(false !== ($file = readdir($fh))) {
if ($file == $some_value) {
echo $file;
}
}
?
--
Teach a man to fish...
NEW? |
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
Gerald Artman wrote:
Interesting comments from all.
It would seem that despite disagreements, OSX clearly can hold its own.
According to Netcraft, its does serve 4 of the top 50 sites on the
survey, 11- www.apple.com (which is mixed with Solaris), 12-
I would *hope* that Apple would use
OK, so I built php-5.1.0-dev from source using cygwin / gcc.
- buildconf ran ok
- configure ran ok
- make ran ok
- make install failed. Output was:
Installing PHP SAPI module: cgi
Installing PHP CGI into: /usr/local/bin/
Installing PEAR environment: /usr/local/lib/php/
Signal 11
Eli wrote:
Hi,
I want to validate an XML structure using PHP.
I thought of using PHP's DOM and XSD or DTD for validation. This does
the job ok, except on invalid XML structure I get the same error code.
There are schema validation techniques within the DOM extension... those
error messages
Daevid Vincent wrote:
Yes! That's the point. We use PHPDoc tags in our project, but it's become so
large that PHPDocumentor itself can't make the documentation anymore. Go
figure.
large != high quality
supporting existing coding standards == A Good Thing
Is interested but doesn't have time to
Please read the first link below.
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-generalw=2
STFM | http://php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY |
Jeremy Reynolds wrote:
What if I want to include some literal test into a PHP document that I
don't want it to interpret as it loads. In particular, I am working
with XML but for the example's sake I will say PHP. Example:
FYI, when you have -- on a line by itself most newsreaders think that
Danny Brow wrote:
...
I wonder who will get bored and stir up the ants nest and say Windows? ;)
Windoze is da shizzle my nizzle! Every1 knoz the kewlest SkRiPtErS use
Windoze!
...
I was kidding about OS/2, it's a dead OS.
Nuh uh, just tell that to my overclocked 286 with 4MB of RAM!
.
.
.
.
in the export
command. It may be /usr /usr/local, or something else.
In your case you have to set PHP_PREFIX to '/usr/local', and before you
can proceed you must make sure you have the file '/usr/local/bin/phpize'.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems
Try a MySQL list. Or possibly even php-db.
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-generalw=2
STFM | http://php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY |
Jacques wrote:
How can I destroy the session object for a particular user when that user
leaves my web site without properly signing out?
Jacques
The most important part of this is garbage collection. You can't
really know for 100% sure that a user has left without properly signing
out, but
Forest Liu wrote:
it's better for getting help if you could show your code.
He did show his code, he even put it in one of those nice pastebin
sites! Hurrah!
On Thu, 24 Mar 2005 12:15:11 +0200, Alexandru Martin
[EMAIL PROTECTED] wrote:
I have a script that lists the files in a directory,
AJ Lemke wrote:
Hello all,
I have an install of php on a Red Hat Ent. server that is giving me fits.
I have been trying to use the fopen command to retreive files from external
sites and have been getting this error:
Warning: fopen(http://us3.php.net/images/php.gif): failed to open stream:
Matt Babineau wrote:
Hi All, I have some reports I need converted from HTML to PDF, I'm on a LAMP
box, so does anyone have any free suggestions?
google fpdf
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA |
Symbulos Partners wrote:
I looked at php pattern (www.phppatterns.com). I did not understand it well.
Is that supposed to be pattern as in software development pattern? If so why
the uml diagrams are not there?
They are design patterns for code. But the design patterns there are
more micro
Rasmus answered this question a week or two ago. Search the archives
for 'getenv request' and you will likely find the answer.
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-generalw=2
STFM |
Mignon Hunter wrote:
...
[23-Mar-2005 09:04:47] PHP Warning: Cannot send session cookie - headers
already sent by (output started at /var/www/htdocs/sess_downloads_p2.php:5)
in /var/www/htdocs/sess_downloads_p2.php on line 60
[23-Mar-2005 09:04:47] PHP Warning: Cannot send session cache
[EMAIL PROTECTED] wrote:
...
tool bar, I always got the message The page cannot be displayed. Can you
help me?
Yes. Use a real browser like Firefox so that you can get real error
messages ;)
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA |
You probably need to eat the session cookie in addition to destroying
the session.
?php
/** Destroy session record in /tmp or your database or wherever */
session_destroy();
/** Destroy the $_SESSION vars so they are removed from PHP script */
unset($_SESSION);
/** Destroy the cookie so that a
To add to the discussion: are you using anything like the Zend
performance cache? MMTurck? Smarty? I ask because there are various
programs out there (some PHP-based, some not) that will cache PHP code.
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA |
what are design patterns?
http://phppatterns.com
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-generalw=2
STFM | http://php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY |
Paste the code to a pastebin site... or use .phps extension for the PHP
code and leave it on your server for us to look at it.
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-generalw=2
STFM |
Barbara Picci wrote:
Hi all,
I have a machine that must insert in cron in a mysql db in another
remote machine.
The problem is that I cannot know if the connection in the first machine
(adsl) go down because no entry in the machine log is generated. I would
like to redirect the die function
AndreaD wrote:
I'm looking for an address finder where a user types in a postcode and house
number and then the user is given an option of to houses to choose from.
Anything like this available for a small charge?
Ross
Try talking to Richard Lynch... he *might* be able to help you out.
C Drozdowski wrote:
I have been doing some testing and need confirmation that the following
is correct.
You have a DOMDocument that potentially contains UTF-8 encoded data (it
might not however).
You want to search it via DOMXpath-query() using a value that comes
from a $_POST value.
If
Devraj Mukherjee wrote:
Hi everyone,
I have been very intrigued by the way Gentoo.org offers its
documentation. The documents are stored using a series of XML files and
are delivered via XSLT via some ruby scripts.
Are there any similar frameworks, solutions availble for the PHP world?
AndreaD wrote:
I have a file, index.php and this has an included file, lets call it
calculate.php. When I insert values in text boxes and hit submit the values
are written as cookies. The question is how can I refresh calculate.php so
it shows the new value.
AD
You'll need calculate.php to
disclaimerI am not very good at diagramming these things!/disclaimer
After programming in PHP for a while I ran across this (helpful)
website. Although I don't really do this like I should, perhaps this
link will explain things well and /or inspire you to do things The
Right Way?
Jay Blanchard wrote:
[snip]
Okie dokie. I have an odbc data and I can use odbc_result_all() to
return data in an HTML table format. If I switch to odbc_fetch_array()
or odbc_fetch_object() I get a call to an undefined function even though
TFM says that these are available in 4.3.7 running
Oh and Jay... since no one else has found the answer it would be nice if
you could post your solution here when / if you find it.
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-generalw=2
STFM |
websites from setting these 3rd party cookies.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list archives before you post
http
[EMAIL PROTECTED] wrote:
Hi,
I have a database where i store the username and date when he registered.
The time when he registered is using the time() function.
I want to display the date he registered in this format: year, month, day,
hour, minute, second.
?php
/** For more
Chris Shiflett wrote:
Jerry Swanson wrote:
I generated XML file. I need to send the file to another server not
through FTP but though HTTP.
Yes, I gathered that, but you're not telling us how you're supposed to
send it. For example, when Google first provided their web API, they
didn't
Timothy A. Whitley wrote:
I am using the code at the top of this chapter to upload a file and move
to a given destination directory. I get the following error messages and
my file is not to be found. The only thing I am changing is where I want
the file to be stored.
Thanks.
Warning:
K Karthik wrote:
...
i downloaded the zip from
http://php.chregu.tv/sql2xml/. and then i couldnt know what i am suppose
to do..
when i tried running the file am getting error
Fatal error: main() [function.require]: Failed opening required
'XML/sql2xml.php'
Andrei Verovski wrote:
Hi, Jason,
Thanks a lot for suggestion. Does it mean that I have tried to
serialize some object (like adodb db object)? How I can eliminate this?
I really cannot find where this object or whatever else is going to be
serailized. The problematic line of code just
Scott Haneda wrote:
...
I use it to create HTML emails, send them to 1000's of people. I think I
did a test to 30K or so, it handled it fine using mail locally.
HTML emails [shudder]
As for tracking, what we do is embed a image bug in the html and track when
that loads, it is getting less
Jacques wrote:
Is session time measured in seconds or minutes?
seconds
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-generalw=2
STFM | http://php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
Steven Altsman wrote:
This may be a stupid question. If it is, could somebody do a one line reply
of it is. That way I will know to turn my attention elsewhere.
...
It's not a stupid question, it's just that the people that have read it
so far (including me) don't really know the answer. I
Christian Stadler wrote:
Eli schrieb:
- ($cls instanceof ClassName) *requires* from ClassName to be declared,
and generates a fatal error when ClassName is not declared.
How about
if (class_exists('ClassName') AND $cls instanceof ClassName)
{
...
}
Regards,
Christian Stadler
Nice
M. Sokolewicz wrote:
William Stokes wrote:
Hello,
Again this might be more of a HTML quetion. If so sorry about that.
Anyway I was just trying to make a log out button to a page. It should
end a session or/and close browser window. (Closing browser ends the
session as well I think?
no
Andrei Verovski wrote:
...
Notice: serialize() [function.serialize]: __sleep should return an array
only containing the names of instance-variables to serialize. in
ANVphpApp.php on line 840
Anyone knows what is the problem?
Exactly what the notice says ;) basically __sleep is used so that
C Drozdowski wrote:
...
$query = '//book/chapter' . '[EMAIL PROTECTED]:id=' . $id . ']';
First of all check the XPath documentation:
http://www.w3.org/TR/xpath
http://www.w3.org/TR/xpath#path-abbrev
AFAIK your expression above is the way to build this query. Give us a
link to the XML doc if
Philip Olson wrote:
For a nice introduction to extension writing, read this
article:
Part I: Introduction to PHP and Zend
http://zend.com/php/internals/extension-writing1.php
Bookmarked for future reference. Looking forward to the next several
parts in this series...
As well as the
You know... we talked about this several times before. Please search
the archives for the PHP list's answers.
Hint: STFA tutorial class object
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-generalw=2
STFM |
Patric Stout wrote:
Currently I am trying to get embed PHP to work. A nice C-application
that can handle PHP-scripts. I hope this is the right place to ask
question about it...
This is a fine place to start. Note: I personally don't really know the
answer to this question, but perhaps I can
Al wrote:
What are the pros and cons of session.use_trans_sid ON and OFF
Just moved our site from one which had the php.ini,
session.use_trans_sid=OFF to one with it ON
Sure looks ugly having the PHPSESSID showing up for visitors.
Thanks
PRO:
- makes life easier when session cookie isn't
Jeff Schmidt wrote:
Hello,
I've made the source available at:
http://www.weldingconsultants.com/wcapp/admin.phps
404 error when I just tried.
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-generalw=2
STFM |
Usya Usya wrote:
...
Please do not send multiple messages to the list, especially that many
so close together.
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-generalw=2
STFM | http://php.net/manual/en/index.php
STFW
Devraj Mukherjee wrote:
Hi everyone,
We are implementing the Transaction Process Council (Web) standard in
PHP and are going to make it available under a LGPL license. Is there
anyone there who would be interested in making use of this to benchmark
the performance of their web setup?
We
Jay Blanchard wrote:
[snip]
Sooo.. I'm assuming there's no stable project for compiling php code to
native binary machine code huh? (I've done some searching) Even
anything commercial? (I didn't care for Zend's optimizer so much.. still
has *RUN*time configuration)
[/snip]
Saswat Praharaj wrote:
...
Without which I can't distinguish between different connections.
Regards,
-Saswat
http://ecoustics-cnet.com.com/Tracking+PCs+anywhere+on+the+Net/2100-1029_3-5600055.html
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA |
Davy Durham wrote:
Hi.. I'm working on converting some CLI (not CGI) bash scripts to php
and was wondering if there's an equivalent to 'set -x' from bash in php
set -x in bash basically causes the statements to be printed to stderr
as they are executed. Does php have something similar?
[EMAIL PROTECTED] wrote:
How I can get answers on this queastion? I have a same problem and don't
want to bother you again with same thing :)
Thanks for being considerate! Check out STFA below...
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA |
Phil Neeb wrote:
I've noticed that PHP.net uses index.php as its homepage and well, I'm
curious as to how that's possible. Is it the server setup that allows
them to load a php file as their homepage or something else?
Yes. I don't know for 100% sure what they're using, but it's likely
Rasmus Lerdorf wrote:
Jason Barnett wrote:
Jay Blanchard wrote:
...
In the end you are probably much better off learning a bit of C or C++
and writing your own PHP extensions than hoping that someone will make a
compiler that will magically speed everything up. PHP was designed
Vaibhav Sibal wrote:
Hi
I wanted to implement an auto-logout feature for my project so that if
a terminal is left unattended for say 10 minutes, it should
automatically logoff the user. Apart from this, there is another
How critical is it that the user be automatically logged out after 10
Davy Durham wrote:
No, I was looking for php to print each line of the code as it executes it.
In that case, you want ob_implicit_flush()
http://php.net/manual/en/function.ob-implicit-flush.php
signature.asc
Description: OpenPGP digital signature
Eli wrote:
...
How can I call func() of class A from $cls object (that when I call
func() it will echo A and not B)?
...
?php
class A {
function func() { echo A\n; }
}
class B extends A {
function func() { echo B\n; }
function AMethod($method, $args = array() ) {
return
Eli wrote:
...
- is_a($cls,ClassName) *doesn't require* from ClassName to be
declared, and return false when ClassName is not declared.
...
Try is_subclass_of()
http://php.net/manual/en/function.is-subclass-of.php
--
Teach a man to fish...
NEW? |
Danny Brow wrote:
Thanks for looking,
I figured it out, after RTFM for db, I found that I needed to do field=?
instead of using VALUES ().
Example:
$db-query('UPDATE items SET item_name=?, item_desc=?, item_price=?,
extraprice=? WHERE item_id = 3',
array($_POST['title'],
Jochem Maas wrote:
Jason Barnett wrote:
Davy Durham wrote:
No, I was looking for php to print each line of the code as it
executes it.
In that case, you want ob_implicit_flush()
http://php.net/manual/en/function.ob-implicit-flush.php
I think he is looking to print out the actual
Skippy wrote:
I intend to run a lot of PHP scripts, all the time, on a Linux machine.
The scripts were designed for CLI environment, since they will handle
the entire management of the machine, being started by init and then
effectively and completely taking over.
I'm wondering whether
P80 wrote:
I have a text area form and when I insert it into mysql I get letters like
this:
...
instead of arabic letters. anything I know do to get it right?
thanx in advance
You're definitely better off asking this question on a MySQL list... or
possibly even the php-db list. My
Ross Hulford wrote:
Does anyone know a working eregi expression for determining a domain is
valid? don't need the http:// just looking for www.thedomain.com
cheers,
R.
parse_url()
http://php.net/manual/en/function.parse-url.php
--
Teach a man to fish...
NEW? |
David Joffrin wrote:
Hi,
I searched on the net, found a lot of articles about it... followed all
the various one by one, tried a lot, but I am getting the famous error:
java.lang.UnsatisfiedLinkError: no php5servlet.dll in java.library.path.
...
I modified my application to display the
Richard Lynch wrote:
...
[good stuff]
...
Maybe if you told us WHY you need 4 5 we'd have better answers for ya.
Agreed! Tell us what you specifically need and we can provide better
answers. If you're wanting to test PHP5 with your current scripts then
it would make sense to do exactly what
Chris W. Parker wrote:
Chris W. Parker
on Monday, March 14, 2005 3:15 PM said:
Line 82 is:
print 'tdinput type=\'checkbox\' name=\'status[' .
$row[profileID] . ']' . ' value='true'//td\n;
Very likely the problem is not on line 82, but rather before it. Line
82 is just where the PHP
Dan wrote:
dan wrote:
...
Before we go through all of this, why isn't SQLite an option? It is in
by default as of PHP5.0.0 so if the server is / will be PHP5 soon then I
would go that route.
http://php.net/manual/en/ref.sqlite.php
--
Teach a man to fish...
NEW? |
Ross Hulford wrote:
I want to asssign an image to a variable and show it if certain conditions
are met. E.g
Make it a little more clear what you want. Is this an already existing
image, or one you are trying to create? If it already exists then you
want to use an img tag.
?php echo 'img
Luis TQM Ariceaga wrote:
Is it possible to let the OS handle the collisions?
For example:
$last_value = system('cat counter.txt', $retval);
$last_value++;
$result = system('echo $last_value counter.txt', $retval);
just a suggestion!
Luis: if the OS handled the read/write collisions
Stg wrote:
Thanks a lot for that, I am really grateful, now it sends along the link
properly, which is great, however it is now having trouble converting spaces
to %20 and it does it for some and not others, eg
It does this:
http://localhost/knewsl/NewsletterName.pdf
When it should be:
Ashley M. Kirchner wrote:
I have a page that displays the contents of a folder. Right now,
each file has a little 'delete' button next to it that users can click
on, however with many files it gets cumbersome. I need to be able to
have them click on checkboxes and then hit one delete
Shawn Kelly wrote:
hello php.general:
I want to send a file through an HTML form to my Linux server.
Newbie to PHP, but I have been patient in inverse proportion to my
knowledge. I have seen many confused people with similar problems and their
respective solutions in my quest (!), but still
Richard Lynch wrote:
...
} catch(Exception $e) {}
I dunno about that whole try/catch thing, but if you're not going to USE
it to catch the errors, then you might as well be old school and check the
return values of all these functions.
Agreed 100%. No sense in going through the overhead
?php
/** Page 1 of the form (uniqid.php). Try to protect this page with your
server, mmmkay? Authentication is left as an exercise for the reader... */
$genkey = 'http://receiving_server.com/genkey.php?fname=';
define('TMP', './');
$key = KEY
admin's public key. In an optimal situation you
On Thu, 10 Mar 2005 00:18:05 +0100, BlackDex [EMAIL PROTECTED] wrote:
Hello ppl,
I have a question about regex and html parsing.
I have the following code:
---
p class=MsoNormalfont size=3 face=Comic Sans MSspan lang=NL
style='font-size:12.0pt;font-family:Comic Sans MS'nbsp;/span/font/p
Cindy Reeves wrote:
...
I don't trust their server will always be up/respond, so I want to use a PHP
function to determine whether a GIF has been returned (oppsed to an HTTP
error) before sending it to the browser. Any recommendations how to do this?
Several ways to skin this cat. cURL is
Jeremy Schreckhise wrote:
How do you increase the execution time in php?
A better question: why is it taking so long to execute? Most web
requests should be far less than 360 seconds. Or is this some kind of
CLI script???
I have set max_execution_time to 360 and setting set_time_limit(0);
Chris Dion wrote:
I'm trying to use pam_auth for a script. It loads into php but it's not
authenticating the users. I'm using the correct password and username.
This is a example of how I'm using the function:
pam_auth($_POST[uname], $_POST[passwd], $error)
Any ideas? Thanks in advance
Jochem Maas wrote:
anyone fancy spoonfeeding this guy your lifes work?
No not really. Then again PHP isn't my life's work :)
talk about a snowballs chance in hell of getting help!
Morty, if you read this:
bugging internals with this kind of request will most probably earn
your mail a
[EMAIL PROTECTED] wrote:
Hi guys.
Last night I got Internal Server Error on every page written in php.
HTML pages work just fine.
Our web site is on dedicated server. I contacted tech and he said they
didn't touch the server and must be something I did.
I REALLY don't remember I did anything
Jackson Linux wrote:
...
php include_once /path/to/cv.$r.include.php; ? asks for
cv.'1'.include.php ... And I need it to ask for cv.1.include.php
How can I make a variable to fetch the literal number from the field
cv.category?
Not 100% certain that it will work, but try casting the variable
Edward Vermillion wrote:
...
a directory, about 5000 images are being counted. While the script
worked fine when i wrote it a few months ago, on the different system,
I was recently trying to use it and was repeatedly getting memory limit
errors at an 8MB limit. What the script does is load
I'm not 100% sure what options are used in the Windows build by default,
but for windows everything is wrapped up into extensions. You need
mysql, you enable the appropriate mysql .dll. You need Apache, you use
the appropriate apache .dll. And all of that is controlled through
php's ini and/or
Jochem Maas wrote:
It's mostly the past. The RPG is set in Egypt and the beginning of the
society in egypt has been taken as year 0. The start date I think is
obvious, but I do not understand an end date of a calendar.. Perhaps I'm
just blond.. but could you perhaps explain that one?
David Allan wrote:
In reading the documentation on simplexml predefined constants, I see a note
that says these were added to PHP 5.1.0.
Am I reading that [future] version correctly, and I can expect that these
are to be released in a forthcoming stable release, and in fact do not yet
exist
Eli wrote:
I suppose error_log(My error message, 3, /dev/null) would work.
http://php.net/manual/en/ref.errorfunc.php#ini.error-log
try:
ini_set('error_log', null)
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA |
Richard Lynch wrote:
i ran into this problem and i dont remember how i worked around it.
http://php.net/isset
I would also use isset. Or you can use the identical (===) comparison
instead of the equivalent (==) comparison to check for 0.
--
Teach a man to fish...
NEW? |
Ross Hulford wrote:
I want to read a number from an external (txt) file and increment it.then
save the number back on the text file.
I know this is possible but want a simple amd economical way to do this.
Thanks,
Ross
Not 100% sure what the most economical way is going to be, but I'm
); // ??
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
Mário Gamito wrote:
Hi,
I'm trying to integrate some JavaScript functions in PHP, but so far, no
good :(
...
How can i do this ?
How to tell PHP, that def(word) is a JS function in js.php file ?
I've tried include ('js.php'), etc., but got no results :(
Any help would be apreciated.
Db wrote:
Hi all
I'm writing a C++ CGI lib and I want to support php(5) sessions. Is there
some
API I should use or can I just create/delete/read/write the sess_ files
in /tmp?
You are probably best off searching the PHP source for
session_set_save_handler. It will be something like
of execution should be something like:
start session
assign values to session
close session
do the simulated POST
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development
. The short tags ? ? is an optional
setting on the webserver and hence may not be enabled in which case your
code *will* be displayed as-is.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development
Nick Zukin wrote:
...
line 79, if ($forum_admin == 1) {
line 486, $uname = $cookie[1];
line 216, $pwd = $user[2];
Line 79 is not part of a function or class. It is the first reference to
$forum_admin in the script. The other two are within functions and the
first call within those
1101 - 1200 of 6851 matches
Mail list logo