Ville Mattila wrote:
...
session_destroy();
session_regenerate_id();
session_write_close();
Header(Location: ...);
exit;
For my point of view, this should do exactly what I like to do: destroy
the old session data, generate a new one, write them and redirect the
user to next page.
And you're
to escape a single-quote. MySQL uses a
backslash. Hence running addslashes() on a string destined for MySQL is
usually OK whilst doing so for Postgresql is not.
But now that mysql_real_escape_string() is available that is what you
ought to use.
--
Jason Wong - Gremlins Associates
On Thursday 12 May 2005 09:57, Richard Lynch wrote:
On Wed, May 11, 2005 5:23 pm, Jason Wong said:
But now that mysql_real_escape_string() is available that is what you
ought to use.
But are they REALLY different.
mysql_real_escape_string() is most certainly different from
Dustin Wish wrote:
I have a number like -56.98
I need to convert it to -5698. I tried
?php
$num = -56.98;
$conv = $num * 100; /** -5698 */
?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Martín Marqués wrote:
I have a text variable that contains $ symbols, that when I pass it out PHP
thinks that the $ mean that a variable name comes right after.
I tried escaping the $ put with no luck.
Is there something I can do?
?php
echo '$';
echo \$;
?
--
PHP General Mailing List
Mike Smith wrote:
On 4/18/05, Eric Wood [EMAIL PROTECTED] wrote:
- Original Message -
From: Mike Smith
I'm using a script to generate the barcodes (3 of 9 or Code39):
http://www.sid6581.net/cs/php-scripts/barcode/
This script seems to limit the input barcode to 15 characters... um...
-eric
Jochem Maas wrote:
...
** as in 'people who compulsively want to help newbies', rather
than 'people that are newly infected by the helping virus' (of which there
are many on this list also ;-).
Hey, I resemble that remark! :P
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Hi,
I think you need to serialize your objects.
http://us3.php.net/manual/en/language.oop.serialization.php
Jason
On 5/5/05, Stuart Nielson [EMAIL PROTECTED] wrote:
Sorry to everyone about the stupid READ notification on the posting. I
completely forgot that it was enabled. This one
Anasta wrote:
What am i doing wrong here, the output is always 'empty'
?php
$result = mysql_query(SELECT username FROM users
WHERE seatnum='seat1') or die(mysql_error());
if (seatnum == seat1) {
I think maybe you mean this:
if ($seatnum == 'seat1') {
Heck from the code above you won't even
Khorosh Irani wrote:
hello
Can anyone tell me the url of a good toturial about object and php that contain:
polymorphism,Delegation,...?
Thanks
Google for Gang of Four Programming
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Gerold Kathan wrote:
...
Installing PHP CLI binary:/usr/local/php5/bin/
Installing PHP CLI man page: /usr/local/php5/man/man1/
Installing PEAR environment: /usr/local/php5/lib/php/
make[1]: *** [install-pear-installer] Segmentation fault
make: *** [install-pear] Error 2
= it
Bala Chandar wrote:
Hey
On 5/5/05, Angelo Zanetti [EMAIL PROTECTED] wrote:
well your statement doesnt make any sense
bala chandar wrote:
hi,
how to join in php development???
i want to develop some functions that is built in to the php. how to
contribute or join in its development/?
Fix
Mark Rees wrote:
-Original Message-
From: Robb Kerr [mailto:[EMAIL PROTECTED]
Sent: 05 May 2005 00:29
To: php-general@lists.php.net
Subject: [PHP] Tracking what has been changed
Here's the scenario...
I am building a site in which users will be able to create and then
later edit personal
GamblerZG wrote:
I would like to know, whether using @ is a good practice. For example, I
have an array of unknown length $array.
Is it all right write something like this:
@list($first, $second) = $array;
or is it better to do length check?
Using @ is good practice in any case where you simply
Lisa A wrote:
Does anyone know of a good easy php script or Form that we can use with
Front Page.
We need a form to get results, that actually sends the results in a format
that is easy to read.
Not all run together with no spaces, etc. like the Front Page forms.
Thanks,
Lisa A
?php
/** File
Anasta wrote:
Can anyone help with a statement, ive tried but it never works.
I need to show a value if it is set to a specific value ie:
At the moment If a user is logs in a record is updated from 'away' to
'online'---so i want an echo statement to show a value from another table if
they are set
pete M wrote:
not a php expert but have filed this bug report re validating
is_numeric('3e0');
http://bugs.php.net/bug.php?id=32943
Yeah I read that report... and as it says you're using Euler's notation.
Now tried
function isnumeric($n) {
if (ereg(^[0-9]{1,50}.?[0-9]{0,50}$, $n)) {
if
Venkatasatyanarayana Maddi wrote:
Dear Team,
I M.V.Satyanarayana Reddy, working as a PHP Programmer requesting to join this to share the PHP General.
Good work, we can use more good soldiers like you.
Thank u.
Yahoo!
Borrowed with great reverence from http://ca3.php.net/function.mail:
$regex = '^[_a-z0-9-]+(\.[_a-z0-9-]+)[EMAIL PROTECTED](\.[a-z0-9-]{2,})+$';
if (eregi($regex, $email))
return true;
else
return false;
jason sweeney
jason.designshift.com
JM wrote:
Does anyone have a nice email address
PHP5:
http://php.net/manual/en/ref.dom.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Give this a shot:
^[0-9]{2,3}\.[0-9]$
Returns regex that begins with 2-3 digits, followed by a period, and
ends with one digit.
jason sweeney
jason.designshift.com
[EMAIL PROTECTED] wrote:
Hi All,
I've sucessfully got a JavaScript validating some text boxes to make
sure that only numbers
[EMAIL PROTECTED] wrote:
I'm experiencing some issues with autoLoad with pear packages. DB_Error is
contained within the DB.php, but my autoload method is trying to split the
underscores with forward slashes and then load. Supressing errors with @
still doesnt work, its triggering a php error. Any
Here is cal from a scheduling app i have working on.
http://www.imotes.com/cal2.php
http://www.imotes.com/cal2.phps
Richard Lynch wrote:
Here's source code to one I wrote ages and ages ago...
http://chatmusic.com/calendar.phps
http://chatmusic.com/calendar.php
Here's a similar one with PDF output:
cchereTieShou wrote:
In many case, if there is an error happen in a php script, it may
return an error message something like
Parse error: parse error, unexpected T_FUNCTION in
/home/content/usr/html/test.php on line 6
Is there any way to not show the dir information, but only as
test.php on line
Mattias Thorslund wrote:
...
Who says PHP itself is a template engine? I think nobody. What are the
basic template features?
Variables / placeholders
Looping construct(s)
Conditionals
A way to apply styles to text / markup
However, there is a school of thought regarding templates that advocates
Vedanta Barooah wrote:
btw! saying:
add($a=null,$b=null,$c=null)
is as good as saying:
add($a,$b,$c)
No, it's not. Because in this case $a, $b and $c are all uninitialized
variables and (if this is a function definition) then you *have* to
supply $a $b and $c parameters.
Even if you were
Please do not reply to me personally. I will usually read your
responses in the newsgroup.
Vedanta Barooah wrote:
the code below was talking of function declarations ... reffer to the thread.
will code injection in case of function declarations work? I am not sure!!
OK. But even so
Richard Davey wrote:
RD As that code stands, even with register globals on, it will not echo
RD 22. At least on PHP 4.3.11 on my server this is the case. I guess RG
RD makes all variables global, but not super-global, which leaves the
RD above safe as the null of $total overrides whatever may have
Richard Davey wrote:
Hello Jason,
Thursday, April 28, 2005, 4:23:43 PM, you wrote:
JB Indeed... and replace ?a=22 with ?first=22 in my message as well.
JB :-/
Heh.. ok :)
No worries, demonstrated to me that RegGlobs aren't quite as
destructive as popular myth would lead you to believe
Clive Zagno wrote:
Hi all,
What templating engines do you use with php and why?
Ive been using smarty (http://smarty.php.net)
Clive.
PHP itself is a templating engine, i.e. it can be used to filter input
and format it into output. But Smarty is nice if you want your people
to be able to create
Is it just me or is joking becoming outlawed on the list? Most of us are
geeks or classified as
geeks on the lista little geek humour please? programming is a serious
business and i find myself
getting quite stressed sometimesusing a little humour or reading others
humourous replies helps
Evert | Rooftop Solutions wrote:
Yes, and that's how I read this reply =)
About the subject,
I'm working on a xml-based templating system, which caches all the steps
it does, so it overcomes the slowness =)
And ofcource because I like xml and all the neith things you can do with
it.
grt,
Evert
Also see:
http://php.net/manual/en/function.array-key-exists.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
There is a good intro to the whole XMLHttpRequest (Ajax) process on
Webmonkey right now:
http://webmonkey.wired.com/webmonkey/05/16/index4a.html
Good for those of us slower on the uptake...
jason sweeney
jason.designshift.com
Chris W. Parker wrote:
Jeremiah Johnson mailto:[EMAIL PROTECTED
Malcolm Mill wrote:
Hi,
I've been reading up on php for a while now and would like to get
involved in a small open source LAMP project. I don't have any real
coding experience to speak of but could bring proofreading,
bug-reporting, testing and documentation skills to the project. What
I'd like
Pedro Luis Cruz Riguetti wrote:
como puedo salir de sta lista q esta llenando mi correo.
http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The Disguised Jedi wrote:
Some might consider this OT, but I need to figure this out somehow, and
google has been no help.
I downloaded and installed PHP Designer 2005, and I really like it so far,
but I'm having some problems. Any time it is running, my CPU Usage goes up
to 100% and the
Paul Kain wrote:
Hi there
are there any sites online that show one how to learn php in a step by
step fashion?
I am really lost and would need to start at the very beginning
I already know and understand html
Googling PHP Tutorial will give you more, but here's a few:
PHPFreaks.com
Zend.com
Joseph Connolly wrote:
Sorry, but i have had NO problems with PHP Designer 2005 I have it
running on 3 machines...never a problem with memory usagei think it
is the greatest thing since sliced bread.
Then perhaps you can help out the OP? Do you have any idea why it's
eating up CPU?
--
Brian Dunning wrote:
I have a MySQL database with about a million records. I'd like to use
the SQL command order by RAND() but my ISP won't let me: whenever the
server gets spidered, Google overloads their MySQL server because of
all the overhead of that command. I can't just cloak the
Angelo Zanetti wrote:
HI all,
I am using the array_diff function.
The problem im having is the array that gets returned. Well here's an
example:
this is where i assign the values to two different arrays
$a[]=0;
$a[]=1;
$a[]=2;
$a[]=3;
$b[]=1;
$b[]=4;
$b[]=0;
$diff = array_diff_assoc($a, $b);
/*
Angelo Zanetti wrote:
sorry I'm not using array_diff_assoc just array_diff...
/* Should also be able to re-index the diff of two arrays */
$diff = array_values(array_diff($a, $b));
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
René Fournier wrote:
I've looked in the docs and don't see anything for this per se...
I need to convert a binary number of arbitrary length to a signed integer.
This is how I'm doing it now:
CODE
function bin2int ($bin) {
if (substr($bin,0,1) == 1) {
$val = 0 -
Well that was retarded of me... I missed that you said you needed
negative integers... in which case I don't know of anything better than
what you've already coded.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I would normally prefer to not get involved at all, but in this case I
would ask that we *just let this thread die*.
All of the people that have responded to this thread are regular /
helpful contributors to this group. If you take personal offense to ads
or whatever then make this a private
William Stokes wrote:
...
This works fine in IE and Firefox but Opera remembers users previous
choice and prints wrong info to user. After pressin refresh button it's back
to normal.
So does Opera store variable values to a local cache so that unset() won't
clear them? Sounds odd? If this is
Jay Blanchard wrote:
[snip]
Can PHP generate an array based on file names in a folder?
For example, if I have a folder called photos that includes three
files -- tree.jpg, house.jpg and boat.jpg -- can PHP look at the file
and generate a variable $photos= array (tree, house,boat). Any
ideas
Stuart Nielson wrote:
...
Does anybody know how to do this with php? I'm not sure how to find the
file in the backend and kick it back to the user with the Save As box
popping up. I'm thinking maybe it has something to do with headers, but
I'm not sure. Thanks.
Stuart
Usually when you
Brian Dunning wrote:
I've been going through a number of easy XML parsing examples on the
web, and they all have one thing in common: the XML is in a file, which
they read in 4K chunks and parse.
My application will be retrieving the XML from a web service, presumably
like $xml =
Chris W. Parker wrote:
Matthew Weier O'Phinney mailto:[EMAIL PROTECTED]
on Friday, April 22, 2005 7:39 AM said:
I'm not allowed to say what company it's for, but we just finished
building a site for a Fortune 50 company.
But what you could do is create an anonymous account
William Stokes wrote:
Hello,
I have a system that uses certain id info. This info is stored in a session
cookie in MD5 format. At certain parts of the code I need to update or
insert to MySQL DB with that id info value in cleartext. Is this possible?
If so, how to put this to a sql query?
Labunski wrote:
Hello,
I know for example how to get http vars or basename, but this time I need to
get the whole address, including http:// .
Is it possible?
Thanks in advance,
Lab.
http://php.net/reserved.variables
?php
var_dump($_SERVER['REQUEST_URI']);
?
--
Teach a man to fish...
Mike wrote:
I want to upgrade my server from PHP 4.3.10 to PHP 5.0.4, however, many of
my clients run scripts that will break if I do.
The main problem seems to be 'classes'.
Is there a way to put a band-aid on these scripts that will allow them to
function when I upgrade?
If the main
You're far more likely to get someone to look at your problem code if
you can narrow it down to a block of code. Hell, you didn't even state
a problem!!!
Sorry, but if you come back with a well defined problem then maybe
someone can help you.
--
Teach a man to fish...
NEW? |
Don wrote:
Hi,
I have just started to explore PEAR. I am using PHP 4.3.11 and so PEAR
automatically comes with PHP. I would like to install PEAR's DB classes.
However, I cam right now browsing the PEAR web site and cannot find
information on how to install a package. I have also
[EMAIL PROTECTED] wrote:
For us, the unix instructions worked 100% on Windows as well. Guess since
it's all PHP based it didn't make a difference. Probably some minor internal
tweaks and checks due to filesystem differences, but the PEAR guys did a
great job in making it all very easy.
Dasmeet Singh wrote:
Jay Blanchard wrote:
[snip]
echo (div class=pmini h1 $row[1] /h1 p Location- $row[4] br
Property Type- $ptypebrMin Price- $row[9] /div);
it gives an error..
Parse error: parse error, unexpected T_CLASS in
/home/real/public_html/functions.php on line 162
Any
Adam wrote:
Hallo again,
thank You for Your response.
// singleton for request
class Request {
function __destructor() {
$_SESSION[variable] = hallo;
The __destructor() method is supposed to be about killing the class
(Request). It's probably bad practice to be changing $_SESSION
Mário Gamito wrote:
...
$pdf-Cell(40,10,'CV de ' . $full_name . ',' . 0,0 . ',C');
If I break down this argument to a simpler form, you are using:
$pdf-Cell(40,10,'CV de Mario Gamito,0,0,C');
You aren't supplying the last 3 arguments! What I *think* you're going
for instead here is:
Please, do not cross-post.
--
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 |
I guess Mailman fell asleep? :P
--
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 |
Adam wrote:
Hallo everybody,
hope I am writing to correct mailinglist(^_^*)...
Absolutely!
I have troubles with sessions and descructor in php5. Can not set session
variable in destructor when it's called implicitly. Do You know solution
please?
I think problem is that session is stored
(), array_splice()
--
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
(and in fact the examples shows
that). is_readable() and is_writeable() also works on files/dirs.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development
(upload_tmp_dir,C:\\PHP5\\tmp\\);
You can't do that. That has to be set in php.ini.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search
. What is it now..? Cheers.
Look in /usr/local/apache2/conf/httpd.conf for DocumentRoot.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development
to spice it up with some ungreedy modifiers.
--
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
Stefan wrote:
Hi NG!
I've a problem in updating an XML-Node value.
How can I change the value of an XML node?
Thanks in Advance
Stefan
AFAIK the sane way to do this is through the DOM API. Or if it's a
one-off replacement you could use preg_match() and / or preg_replace()
--
Teach a man
[EMAIL PROTECTED] wrote:
Hi there, I have been testing a possible solution to reduce the ammount of
interface calling scriptsto my class files. Currently each class has a
calling script. I am
For PHP5 you can try __autoload(). It provides for you a last-chance /
just in time loading of a
+/', $_POST['username']);
--
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
On Monday 11 April 2005 12:11, Theisen, Gary wrote:
if ($excel !=== FALSE) { //This is the error line?!?! I even tried
FALSE.
if ($excel !== FALSE) { ... }
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet
and/or you're paranoid can be *encrypted*). The
password is hashed (md5/sha, whatever) WITH a secret key. You can then
verify whether username/password is correct and return an appropriate
response.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
On Tuesday 12 April 2005 02:28, Ben Ramsey wrote:
In general, permission settings under Windows suck.
Hmm I thought that the ACLs on NTFS were about the only thing that is good
about Windows.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
person using
the password to gain access from the legitimate user.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list
steps ie editing httpd.conf so
that it knows about PHP. RTFM for details.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list
need to tell it what PHP files look like (step 15).
--
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
that they have forgotten
the password?
--
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
/cal_header.inc.php on
line 19
* the /tmp directory is owned by root
* the /tmp/sess directory is owned by the apache user and has 777
permissions * the directory in php.ini to store sessions is : /tmp/sess
* there's not a php user
what is the output of:
ls -al /tmp/sess
--
Jason Wong - Gremlins
the installation instructions in the [PHP] manual
Installation on Unix systems Apache 2.0 on Unix systems. In particular
verify steps 14 and 15.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications
Apache2 uses threads. Searching the archives (both php-general below
and php-dev would be good places to look) will give you the answer for
this question.
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-generalw=2
Zac Barton wrote:
Hi Jason
I tried to compile php using cygwin last night and also got the same erorr. I
could work around it by adding --without-pear (configure --without-pear)
I'll give that a shot, but I'd really like to fix the underlying error
(i.e. why did PEAR fail to load and give
George Pitcher wrote:
Hi,
My first posting for a long while.
If anyone is using the 'class.zipfile.php' library, can they help me. I am
trying to create some PDFs, then zip and email them back to me.
Not using the class, but...
I get the zipfile but it only contains the first pdf file,
William Stokes wrote:
What was the string chooping function? I need to chop a date value from DB
like (07.04.2005) and time (22:00) to $day ='07' $month='04' etc. etc.
Thanks
-Will
?php
list($day, $month, $year) = explode('.', $date_value);
?
--
Teach a man to fish...
NEW? |
Jeff McKeon wrote:
Does anyone know if it's possible to have file_get_contents() accept a
file handle?
file_get_contents() does the file handle operations internally, so it
only expects the name of the file. If you want to use file handles
yourself, then you should just fopen(), fread(), and
On Thursday 07 April 2005 20:21, Jeff McKeon wrote:
Now that I look at it, does anyone think this would work...
file_get_contents(php//stdin/);
That should be:
'php://stdin'
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design
GamblerZG wrote:
You can ask about a question. You can even try to improve the
performance of a function. But at the end of the day unless you can
come up with something that will do what the PHP community at large
expects *and* it is faster it's not going to happen.
How exactly PHP
GamblerZG wrote:
Are there any decent resources dedicated to PHP code optimization? By
decent I mean ones that do not ask you to completely ruin readability
for the sake of extra 0.003 seconds.
The best way to go about it is to get a code profiler. apd / xdebug /
Zend are popular choices.
--
Change permissions for /tmp/sess. The PHP user needs read and write
perms for this directory. PHP user might also need execute perms for /tmp.
--
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 |
, 'w+b')) {
echo \nError! Could not open COMport - Got a terminal open?\n;
exit;
} else {
$i = 0;
while ((false !== ($char = fgetc($fp))) AND $i 10) {
$i++;
echo $i::[$char]br;
}
echo $i;
}
--
Jason Wong - Gremlins
with
having SELinux enabled and were resolved when it was disabled.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list
I do not question usefulness of include_once(). In fact, currently I'm
developing application that might use it exactly the way you described.
There are many API functions in several files, and there are cases when
I do not need all of them. That is exactly why I am concerned with it's
Tomás Rodriguez Orta wrote:
...
what is the differnece between isset($_session['use']) and
session_is_registered('user') ?
session_register() and session_is_registered() rely on the php.ini
directive register_globals. Register_globals *can* be an ugly monster
that gives crackers an easy
Charles FENDT wrote:
I try to use PDO with Oracle and PHP 5.0.4 on windows...
my php.ini includes php_pdo.dll
and when I try to create an object, I got an error message could not
find driver
Any idea ?
regards,
FENDT Charles
disclaimerI have never used Oracle or PDO/disclaimer
I think
Could someone tell me what I did wrong with this script. It should read
the page
http://www.mto.gov.on.ca/english/traveller/conditions/rdclosure.htm and
only read between the 2 words in the script. And email any new stuff to the
email address in the script. What did I do wrong that is
Whil Hentzen wrote:
Hi folks,
I've done a bit of work with PHP/MySQL on a Fedora Core server over the
past few months and just about the time I got comfortable, it was time
to change the server to SuSE. What a delight! Installed Apache 2, PHP
and MySQL and I was processing pages within minutes.
Jay Blanchard wrote:
[snip]
Why include_once() is doing some fancy logic, which nobody needs?
I need it. If you don't need it, don't use it.
Why array_shift() re-indexes arrays?
Because most people *expect* it to behave that way.
Why 2 simple string comparisons are slower than one
[EMAIL PROTECTED] wrote:
Hi all
I have been doing all my design by using POST to transfer user data and GET
for user changeable variables.
I would like to know what you guys think of using SESSION in production sites.
SESSION is A Good Thing.
Right now I am giving a trust factor of 80%
Tomás Rodriguez Orta wrote:
Hi, people.
I want to register all session of my web sitie, by the way in my index web I
register all user with your username and password
session_start();
$_SESSION['username']=$username;
session_register('username');
You should use $_SESSION *or*
Ashley wrote:
Ok, apparently I wasn't clear enough with my explanation due to the
responses I have received.
I have a webserver (not on the same computer as the users) that is
hosting an Intranet app. I want to obtain the username of the current
person logged into the workstation that is
Search the list archives for (noob) file
--
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 |
1001 - 1100 of 6851 matches
Mail list logo