|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
php-general Digest 29 Aug 2004 09:28:51 -0000 Issue 2964
php-general-digest-help
lists.php.net
Date: Sun Aug 29 2004 - 04:28:51 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
php-general Digest 29 Aug 2004 09:28:51 -0000 Issue 2964
Topics (messages 195033 through 195062):
Re: Newbie. Posting to backend MySQL database
195033 by: Jason Davidson
UPdated chm and extended chm docs?
195034 by: CSN
SOAP speed
195035 by: FrzzMan
195036 by: Brent Clements
Re: PHP Oficial Certification
195037 by: Ed Lazor
195038 by: Ed Lazor
Fatal error: Call to undefined function
195039 by: gc
195041 by: Justin Patrin
195045 by: John Nichel
195046 by: gc
195048 by: Philip Olson
195050 by: gc
php and SMS
195040 by: grahama.siren.cc
195042 by: Chris Shiflett
195043 by: raditha dissanayake
Simultaneus execution
195044 by: Andrew
195049 by: Jason Wong
Loading php_domxml.dll
195047 by: Sam Hobbs
Re: Dynamic HTML Creation
195051 by: Ramil Sagum
195054 by: Sam Hobbs
5.0.1 broke mbstring regex?
195052 by: Miles Keaton
Download installer not found [***SPAM***] **SPAM USA 64.246.30.37 BODY**
195053 by: DevX
195059 by: Lester Caine
Re: Caching Database Information
195055 by: Sam Hobbs
Passing variable on include
195056 by: Xongoo!com: Central unit
195058 by: Marek Kilimajer
List of cities
195057 by: Harlequin
195060 by: Lester Caine
195061 by: Torsten Roehr
195062 by: Lester Caine
Administrivia:
To subscribe to the digest, e-mail:
php-general-digest-subscribe
lists.php.net
To unsubscribe from the digest, e-mail:
php-general-digest-unsubscribe
lists.php.net
To post to the list, e-mail:
php-general
lists.php.net
----------------------------------------------------------------------
attached mail follows:
If you just need to put it in the database, you dont need a form to do
that..
just open a connection to your db, and query it in.
read about mysql functions in the php manual.. specifically
mysql_connect, mysql_select_db and mysql_query
, i beleive there is a functional example of all you need on the
introduction page for the mysql functions in the manual.
Jason
"M. Sokolewicz" <tularis
php.net> wrote:
>
> Aidan wrote:
> > Please help, I'm tearing what remains of my hair out here.
> > I've got a MySQL database where I've defined one of the table fields as an
> > integer.
> > Using PSP I've passed a session variable and can echo it to the screen using
> > <?php echo intval($clin_id) ?>. So the session variable exists and can be
> > echoed
> > I now want to pass this session variable to the database into the field I've
> > defined as an integer
> >
> > I've set up a form to submit other variables to the backend database and
> > they all work apart from this field.
> >
> > I'm using a hidden field to pass the variable and I am using
> >
> > <input name="p_clin_id" type="hidden" id="p_clin_id"
> > value="intval('$clin_id')">
> that line doesn't make any sense to me... what are you doing there?
> you're freely mixing PHP and HTML without denoting what is what.
> an example that WOULD work would be:
> echo '<input name="p_clin_id" type="hidden" id="p_clin_id"
> value="'.intval($clin_id).'">';
>
> or maybe
> ?>
> <input name="p_clin_id" type="hidden" id="p_clin_id"
> value="<?php echo intval($clin_id);?>">
> <?php
>
> So, mixing HTML and PHP without denoting what is what is the first
> mistake. The second one is the actual function call:
> intval('$clin_id');
>
> Now, when you put something between SINGLE quotes, it is read LITERALLY,
> meaning it *will not* substitute variables for their value. eg:
> echo '$clin_id';
>
> will output:
> $clin_id
>
> However,
> echo "$clin_id";
> will output the VALUE of $clin_id (eg. 12)
>
> So, I think that instead of
> intval('$clin_id') you actually meant intval("$clin_id"), or, cleaner,
> intval($clin_id) (since intval isn't expecting a string anyway, and even
> if it were, it would change it to one itself. No need to do extra work
> for nothing.)
>
> The 3rd point about this all... if you get the value from the database,
> and it's an integer there, then why are you converting it to an integer
> AGAIN?? :| just using $clin_id instead of intval($clin_id) is surely
> faster (seen as no extra functions need to be called).
>
> >
> > What I don't understand is that if I can echo the variable what am I missing
> > in formatting a sessio variable to make it passable to the database. It mus
> > be something basic and I've looked through several books (from where I got
> > the intval function) but obviously in the wrong place.
> >
> > I would be grateful for any advice.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
attached mail follows:
When are the chm (last updated Apr. 18, 2004) and
extended chm (last updated Sep. 6, 2003) docs likely
to be updated?
CSN
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
attached mail follows:
Hello,
I'm developing some site that will share the same UserDB, because these
site are quite large in scale so I decided to host it on different servers.
Each site will have it own cache of active user on the site, so the user
wont' have to be authenticated every request (will be a pain in the a$$
I'm sure), the cache will be cleared when the session time out.
But since I don't have much experience with these kind of distributed
authenticate process with SOAP, so I wonder how long it will take to
receive the response from the UserDB server using SOAP.
There's a change that the site server will be located
Europe, while
the UserDB server will be located
US (for global access).
If the transmission time is about 1, 2 or even 3 secs, I think it
acceptable. btw, do you have any experience about this?
TIA
attached mail follows:
This isn't really answer to your question, but to possibly simplify your
authentication mechanism, you ought to take a look at the pear package
Liveuser which allows you to have somewhat of a distributed authentication
architecture.
Check out http://pear.php.net/package/LiveUser
-Brent
----- Original Message -----
From: "FrzzMan" <FrzzMan
vnOCzone.com>
To: <php-general
lists.php.net>
Sent: Saturday, August 28, 2004 4:55 PM
Subject: [PHP] SOAP speed
> Hello,
>
> I'm developing some site that will share the same UserDB, because these
> site are quite large in scale so I decided to host it on different
servers.
>
> Each site will have it own cache of active user on the site, so the user
> wont' have to be authenticated every request (will be a pain in the a$$
> I'm sure), the cache will be cleared when the session time out.
>
> But since I don't have much experience with these kind of distributed
> authenticate process with SOAP, so I wonder how long it will take to
> receive the response from the UserDB server using SOAP.
>
> There's a change that the site server will be located
Europe, while
> the UserDB server will be located
US (for global access).
>
> If the transmission time is about 1, 2 or even 3 secs, I think it
> acceptable. btw, do you have any experience about this?
>
> TIA
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
attached mail follows:
> -----Original Message-----
> Of course, we tried very hard to make this one have a fair amount of value
> but not just be difficult for the sake of being difficult.
Why not offer multiple PHP certifications varied by topic and complexity?
Will certs expire?
=)
attached mail follows:
> Well i think in a way that getting programmers certified is one thing. I
> also think that there might be a need for software certification.
> Where it would validate that the standars have been fallowed, check the
> quality of the code, check for security, check for proper docummentation
> (comments, uml, user docs)
> Some what like the ISO 9002 certification but more software oriented.
It sounds like you're describing what I'd expect to see from someone with an
IS / IT degree.
-Ed
attached mail follows:
Let me try this again,
I'm Gene Candelaria and I'm a PHP and MySQL newbie. I have a feeling a lot
of you may have seen this before. I'm teaching myself
PHP/MySQL and trying to setup a guestbook. I'm running latest versions of
Apache, PHP and MySql on WIN 2000. PHP is installed from the zip file. When
serving php docs (code snippets below) I get the messages:
"Fatal error: Call to undefined function mysql_connect() "
"Fatal error: Call to undefined function mysql_pconnect() "
I've been reading and searching and trying all sorts of things to fix this
and can't find the solution. I've removed the comment from the line
"extension=php_mysql.dll" in php.ini. (Below is the MySQL section of
php.ini. It's pretty standard, I'm using defaults.) I edited my Apache
config file with the needed lines:
### Section 4: PHP 5 Module
#
ScriptAlias /cgi-bin/ "C:/Program Files/Apache
Group/Apache2/cgi-bin/"
LoadModule php5_module php/php5apache2.dll
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
PHPIniDir "C:/Program Files/Apache Group/Apache2/PHP"
When I run phpinfo, MySQL is not listed. Do I need to enable it in the
configure command? How do I edit the configure command. Per phpinfo, It now
reads:
Configure Command cscript /nologo configure.js "--with-gd=shared"
"--enable-snapshot-build"
I read these comments:
Ok, your php.ini file is set to 'on' for mysql.allow_persistent, but
is
mysql really enabled? Does your configure command look something
like
this?
'./configure'
'--with-mysql=/usr/local/mysql'............................................
If you don't have --with-mysql it means that you cannot use mysql
functions,
so compile PHP again with this option.
How do I edit that pesky configure command. I searched, but couldn't find an
answer. So, where am I going wrong? Thanks for reading and big thanks for
any help.
gene
sunishun
verizon.net
php.ini snippet (comments removed for easier reading:
[MySQL]
mysql.allow_persistent = On
mysql.max_persistent = -1
mysql.max_links = -1
mysql.default_port =
mysql.default_socket =
mysql.default_host =
mysql.default_user =
mysql.default_password =
mysql.connect_timeout = 60
mysql.trace_mode = Off
guest.php code snippet:
//connect
// change localhost to your db host name
mysql_pconnect( "http://aulon.dyndns.org/", "$username", "$password")
or die( "Unable to connect to SQL server");
mysql_select_db( "$db_name") or die( "Unable to select database");
guestbook.php code snippet:
// Connect to DB
$li = mysql_connect($dbHost, $dbUser, $dbPass) or die("Could not connect");
mysql_select_db($dbDatabase, $li) or die ("could not select DB");
attached mail follows:
On Sat, 28 Aug 2004 16:57:27 -0700, gc <sunishun
verizon.net> wrote:
> Let me try this again,
>
> I'm Gene Candelaria and I'm a PHP and MySQL newbie. I have a feeling a lot
> of you may have seen this before. I'm teaching myself
> PHP/MySQL and trying to setup a guestbook. I'm running latest versions of
> Apache, PHP and MySql on WIN 2000. PHP is installed from the zip file. When
> serving php docs (code snippets below) I get the messages:
>
> "Fatal error: Call to undefined function mysql_connect() "
> "Fatal error: Call to undefined function mysql_pconnect() "
>
You need to enable the mysql dll in your php.ini
> I've been reading and searching and trying all sorts of things to fix this
> and can't find the solution. I've removed the comment from the line
> "extension=php_mysql.dll" in php.ini. (Below is the MySQL section of
> php.ini. It's pretty standard, I'm using defaults.) I edited my Apache
> config file with the needed lines:
>
> ### Section 4: PHP 5 Module
> #
> ScriptAlias /cgi-bin/ "C:/Program Files/Apache
> Group/Apache2/cgi-bin/"
> LoadModule php5_module php/php5apache2.dll
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php-source .phps
> PHPIniDir "C:/Program Files/Apache Group/Apache2/PHP"
>
> When I run phpinfo, MySQL is not listed. Do I need to enable it in the
> configure command? How do I edit the configure command. Per phpinfo, It now
> reads:
>
> Configure Command cscript /nologo configure.js "--with-gd=shared"
> "--enable-snapshot-build"
>
> I read these comments:
>
> Ok, your php.ini file is set to 'on' for mysql.allow_persistent, but
> is
> mysql really enabled? Does your configure command look something
> like
> this?
> './configure'
> '--with-mysql=/usr/local/mysql'............................................
>
> If you don't have --with-mysql it means that you cannot use mysql
> functions,
> so compile PHP again with this option.
>
> How do I edit that pesky configure command. I searched, but couldn't find an
> answer. So, where am I going wrong? Thanks for reading and big thanks for
> any help.
>
> gene
> sunishun
verizon.net
>
> php.ini snippet (comments removed for easier reading:
> [MySQL]
> mysql.allow_persistent = On
> mysql.max_persistent = -1
> mysql.max_links = -1
> mysql.default_port =
> mysql.default_socket =
> mysql.default_host =
> mysql.default_user =
> mysql.default_password =
> mysql.connect_timeout = 60
> mysql.trace_mode = Off
>
> guest.php code snippet:
> //connect
> // change localhost to your db host name
> mysql_pconnect( "http://aulon.dyndns.org/", "$username", "$password")
> or die( "Unable to connect to SQL server");
> mysql_select_db( "$db_name") or die( "Unable to select database");
> guestbook.php code snippet:
> // Connect to DB
> $li = mysql_connect($dbHost, $dbUser, $dbPass) or die("Could not connect");
> mysql_select_db($dbDatabase, $li) or die ("could not select DB");
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> !DSPAM:4130ba8d143217233713689!
>
>
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--
attached mail follows:
gc wrote:
<snip-a-roo>
It's been awhile since I've done php on Windows, but I think you have to
uncomment the mysql dll in the php.ini file (make sure you're editing
the right one as per phpinfo), and restart your web server.
--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
attached mail follows:
Thanks, John. I have the line uncommented, am editing php.ini in my winnt
directory and have restarted the server. No magic, yet.
Thanks again.
g
-----Original Message-----
From: John Nichel
gc wrote:
<snip-a-roo>
It's been awhile since I've done php on Windows, but I think you have to
uncomment the mysql dll in the php.ini file (make sure you're editing
the right one as per phpinfo), and restart your web server.
attached mail follows:
> > It's been awhile since I've done php on Windows, but I think
> > you have to uncomment the mysql dll in the php.ini file (make
> > sure you're editing the right one as per phpinfo), and restart
> > your web server.
>
> Thanks, John. I have the line uncommented, am editing php.ini in my winnt
> directory and have restarted the server. No magic, yet.
And make sure libmysql.dll is available in your systems PATH
and a nice way to do that is adding the PHP dir to your PATH
but a less cool way would be to copy libmysql.dll into the
Windows sytem directory because that directory is in the
PATH. Don't do that though..
The manual talks about all of this, read the installation
section:
http://php.net/manual/en/install.windows.manual.php
It says how to set your PATH (via system environmetn variables)
and the MySQL documentation also refers to all of this:
http://www.php.net/mysql
Both of the above manual pages link to related FAQs so read
those as well.
Regards,
Philip
attached mail follows:
Thanks for the help, Phollip. Yes, I did read and follow the instructions in
the manual and the faq. I did edit my path and restarted my system. Same
result.
g
-----Original Message-----
From: Philip Olson [mailto:philip
cornado.com]
Sent: Saturday, August 28, 2004 7:11 PM
To: gc
Cc: php-general
lists.php.net
Subject: RE: [PHP] Fatal error: Call to undefined function
> > It's been awhile since I've done php on Windows, but I think
> > you have to uncomment the mysql dll in the php.ini file (make
> > sure you're editing the right one as per phpinfo), and restart
> > your web server.
>
> Thanks, John. I have the line uncommented, am editing php.ini in my winnt
> directory and have restarted the server. No magic, yet.
And make sure libmysql.dll is available in your systems PATH
and a nice way to do that is adding the PHP dir to your PATH
but a less cool way would be to copy libmysql.dll into the
Windows sytem directory because that directory is in the
PATH. Don't do that though..
The manual talks about all of this, read the installation
section:
http://php.net/manual/en/install.windows.manual.php
It says how to set your PATH (via system environmetn variables)
and the MySQL documentation also refers to all of this:
http://www.php.net/mysql
Both of the above manual pages link to related FAQs so read
those as well.
Regards,
Philip
attached mail follows:
I want to send SMS Text messages to cell phones from my server app....
I would also like cell phones to be able to send text messages back to
my app
how does one go about doing this ?
Can I do a 'get' or a 'post' to some kind of sms gateway url ?
does anyone know what the costs are for something like this ?
just getting into this...so any help would be appretiated
g
attached mail follows:
--- grahama
siren.cc wrote:
> I want to send SMS Text messages to cell phones from my server app....
> I would also like cell phones to be able to send text messages back to
> my app how does one go about doing this?
This was done recently for Midnight Madness. The information given by the
developer is as follows:
"The SMS server was quite simple really. I borrowed a Sierra Wireless
Aircard 750 from a friend. This is basically a GSM/GPRS cellphone in
PCMCIA card package. The same type of setup can be done with any GSM
cellphone and a serial cable attaching it to a pc.
"I used a software called NowSMS which is free for 60 days. It has a lot
of features but I only used one, which is executing a program everytime an
sms message comes in with the message as a command line argument. It then
sends as a reply anything that the program writes to standard output.
"Then I wrote two pieces of software. One is the main game application
that keeps track of all the teams, the combination guesses, the hints,
etc. This program also has a sockets server running that waits for
incoming sms messages. The second piece of software is a little sockets
client that the NowSMS software executes when it gets a message. The
client program sends the message to the main application, writes the
response to standard out and exits. Everything is multi-threaded in case
the sms messages overlap, but I don't think this ever happens."
Hope that helps.
Chris
=====
Chris Shiflett - http://shiflett.org/
PHP Security - O'Reilly
Coming Fall 2004
HTTP Developer's Handbook - Sams
http://httphandbook.org/
PHP Community Site
http://phpcommunity.org/
attached mail follows:
grahama
siren.cc wrote:
> I want to send SMS Text messages to cell phones from my server app....
> I would also like cell phones to be able to send text messages back to
> my app
>
> how does one go about doing this ?
> Can I do a 'get' or a 'post' to some kind of sms gateway url ?
Goto kannel.org and download their sms gateway. This is an excellent
open source product. In that download bundle you will find some PHP
scripts (among other things) that does all this for you.
--
Raditha Dissanayake.
------------------------------------------------------------------------
http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 128 KB | with progress bar.
attached mail follows:
Hello guys,
Do anyone have an idea how to execute 2 different functions in the same
moment, no matter if they're system or custom ones. For example, how can I
execute 2 different loops simultaneously?
--------------------------------------------------
Regards, Andrew
andrew
mansionproductions.com
attached mail follows:
On Sunday 29 August 2004 09:56, Andrew wrote:
> Do anyone have an idea how to execute 2 different functions in the same
> moment, no matter if they're system or custom ones. For example, how can I
> execute 2 different loops simultaneously?
I'm curious at what you're trying to achieve. Could you elaborate?
--
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
------------------------------------------
/*
QOTD:
"What do you mean, you had the dog fixed? Just what made you
think he was broken!"
*/
attached mail follows:
I am using PHP 4.3.4 with Windows XP and Apache 2.
I can't get php_domxml.dll loaded. I have searched for answers and tried
many things.
The file:
S:\Software\php-4.3.4-Win32\extensions\php_domxml.dll
exists. In my php.ini, I have tried setting extension_dir to many values,
including:
extension_dir = "S:\Software\php-4.3.4-Win32\extensions"
When I restart Apache I always get a "Unable to load" (message box) message
that says:
Unknown(): Unable to load dynamic library
'S:\Software\php-4.3.4-Win32\extensions\php_domxml.dll' - The specified
module could not be found.
Of course, the path that is shown is whatever I have set extension_dir to.
When the php script gets to the line that I use DomDocument, it says it
"Cannot instantiate non-existent class: domdocument". When I execute php
from the command line, I get a (message box) message saying that iconv.dll
cannot be loaded, then the "Unable to load" message, such as the following:
S:\Software\php-4.3.4-Win32>php -v
PHP Warning: Unknown(): Unable to load dynamic library
'S:\Software\php-4.3.4-Win32\extensions\php_domxml.dll' - The specified
module could not be found.
in Unknown on line 0
PHP 4.3.4 (cgi-fcgi) (built: Nov 2 2003 23:47:22)
Copyright (c) 1997-2003 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies
attached mail follows:
On Sat, 28 Aug 2004 12:30:48 -0700, Sam Hobbs <socalsam
bigfoot.com> wrote:
> This is for osCommerce, which is a shopping cart system written in PHP. Many
> of it's pages (the HTML) are not modifiable directly using a WYSIWYG editor,
> which make the content difficult to modify, especially for non-technical
> people. So what I can do is to make a page that is stored as a HTML page and
> then in a separate PHP script add stuff (in this situation, it is left
> and/or right menu columns) using the DOM. Since the system is written using
> PHP, this improvement should also use PHP. I think PHP will do quite well
> using it in this manner yet the system (osCommerce) can be easier to use.
Ah. You should have said this in your first mail (which was
confusing). It now becomes clear. I think what you are looking for is
a template engine, like smarty
http://smarty.php.net/
given a template :
-----
<body>
User Information:<p>
Name: {$name}<br>
Address: {$address}<br>
</body>
-----
and the php code:
----
$smarty = new Smarty;
$smarty->assign('name', 'george smith');
$smarty->assign('address', '45th & Harris');
$smarty->display('index.tpl');
----
I think you can already see what this does. The non-technical people
can edit the pages (as long as they leave the placemarkers for the
output). The PHP-people can edit the code without worrying about the
page layout (as long as the markers are there).
I hope this helps.
(code was taken from http://smarty.php.net/crashcourse.php)
--------
ramil
http://ramil.sagum.net
attached mail follows:
"Ramil Sagum" <ramil.sagum
gmail.com> wrote in message
news:adc98eb504082820457c3203c7
mail.gmail.com...
>
> Ah. You should have said this in your first mail (which was
> confusing). It now becomes clear. I think what you are looking for is
> a template engine, like smarty
>
> http://smarty.php.net/
If Smarty is a good solution that the other osCommerce users and developers
agree is useful, then yes, I should have said more in my original question.
If however Smarty is not a good solution for osCommerce, then explaining
that I am modifying osCommerce would have been confusing and distracting.
I like the idea of separating the UI from the program. Programmers and
software designers have been doing that for many years. It is usually easier
to keep the UI separate from the processing and then have tags of some type
in the UI that allows the processing to put data into the UI and pluck it
out. That type of thing can be done using HTML too. There are some
disadvantages of using HTML and the DOM but I suspect there are limitations
of Smarty too. If it is possible to use HTML and the DOM then there are
significant advantages to using an existing standard that is in common use.
If a web site is hosted in a server owned by someone else and if the
server's owner (which includes the employees) must install Smarty befor it
can be used, then that is a critical disadvantage of Smarty.
So do you know of specific advantages of Smarty compated to using the HTML
and DOM standards? Without spending a lot of time to learn Smarty, it is
difficult for me to see the advantages.
attached mail follows:
I just upgraded PHP from 5.0 to 5.0.1 on a FreeBSD box.
But unfortunately it seemed to break the regex features of mbstring
At startup and every time I try to run PHP I get this:
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20040412/mbstring.so' -
/usr/local/lib/php/20040412/mbstring.so: Undefined symbol
"zif_mb_regex_encoding" in Unknown on line 0
Anyone heard of this problem or suggest a solution?
attached mail follows:
Hi,
I click PHP 5.0.1 installer
<http://www.php.net/get/php-5.0.1-installer.exe/from/a/mirror> link
download at http://www.php.net/get/php-5.0.1-installer.exe/from/a/mirror .
But i see download not found.
Download not found
This mirror site is improperly setup, and thus has no copy of the
executable file you requested. Please select a different mirror site
<http://th.php.net/mirrors> to get the file, until this site gets fixed.
same PHP 4.3.8 installer
<http://www.php.net/get/php-4.3.8-installer.exe/from/a/mirror>
link,please fix.
Yingyos Santiprasert
attached mail follows:
Devx wrote:
> I click PHP 5.0.1 installer
> <http://www.php.net/get/php-5.0.1-installer.exe/from/a/mirror> link
> download at http://www.php.net/get/php-5.0.1-installer.exe/from/a/mirror .
> But i see download not found.
>
> Download not found
>
> This mirror site is improperly setup, and thus has no copy of the
> executable file you requested. Please select a different mirror site
> <http://th.php.net/mirrors> to get the file, until this site gets fixed.
>
> same PHP 4.3.8 installer
> <http://www.php.net/get/php-4.3.8-installer.exe/from/a/mirror>
> link,please fix.
So which mirror were you using?
http://th.php.net/mirrors is working for me and gives the same list I
get from the UK mirrors, but it may be that you have an old cookie that
needs clearing?
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
attached mail follows:
"Paul Higgins" <developer_paul_php
hotmail.com> wrote in message
news:BAY22-F14FYHpZP5ui400025d71
hotmail.com...
>
> Can I cache too much and therefore negate the advantages of caching?
Performance can be a very complicated subject. There is a good chance that
the data is already cached. I don't know the details of how PHP, your
hadrware and your operating system work, but it is very typical for data to
be cached in memory by software and hardware. It is entirely possible that
the most efficient solution is to simply have as much main memory as
possible and let the hardware and software do what it already can do.
Let's assume that the database data is cached by the database software
and/or the operating system. Let's also assume that any cache that you
create might cause virtual memory used by other software to be paged out.
Then if that other memory needs to be paged back in then you easily coud be
degrading performance by trying to improve it.
You can't guess about perfomance. Effective optimization requires learning
about the system and use of tools such as performance monitors.
attached mail follows:
Hi,
I have to pass variable on include
include("includes/include.php");
include("includes/include.php?name=$name");
wouldn't work.
How do I do that? Cokies are not an option, btw.
--
Tadas Talaikis
info
xongoo.com
http://www.xongoo.com
attached mail follows:
Xongoo!com: Central unit wrote:
> Hi,
>
> I have to pass variable on include
> include("includes/include.php");
>
> include("includes/include.php?name=$name");
> wouldn't work.
>
> How do I do that? Cokies are not an option, btw.
Code in includes/include.php is executed in the scope of the including
file, so all variables available at the include() will be available in
the included file. Thus the solution is:
$name = 'Your Name';
include("includes/include.php");
attached mail follows:
Morning...
Does anyone know of a site that or resource available where I could pull a
list of ALL UK cities and towns for an option list...?
I started out with 100+, then expanded this list to over 200 but still get
complaints that certain towns are not listed.
--
-----------------------------
Michael Mason
Arras People
www.arraspeople.co.uk
-----------------------------
attached mail follows:
Harlequin wrote:
> Does anyone know of a site that or resource available where I could pull a
> list of ALL UK cities and towns for an option list...?
>
> I started out with 100+, then expanded this list to over 200 but still get
> complaints that certain towns are not listed.
I have a fairly complete Postcode table - 400Mb in Firebird. This gives
me nearly 1500 postal towns. Do you really want that in a single drop
down list?
I can supply it as a list if you want really want it, but I think you
need a rethink.
(eMail direct if you do want it)
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
attached mail follows:
"Harlequin" <michael.mason
arraspeople.co.uk> wrote in message
news:20040829083353.85518.qmail
pb1.pair.com...
> Morning...
>
> Does anyone know of a site that or resource available where I could pull a
> list of ALL UK cities and towns for an option list...?
>
> I started out with 100+, then expanded this list to over 200 but still get
> complaints that certain towns are not listed.
Ask the UK postal service (or whatever it is called). They should have such
a list/directory containing all cities with zip codes in digital form
(probably on CD-ROM).
Regards, Torsten Roehr
attached mail follows:
Torsten Roehr wrote:
>>Does anyone know of a site that or resource available where I could pull a
>>list of ALL UK cities and towns for an option list...?
>>
>>I started out with 100+, then expanded this list to over 200 but still get
>>complaints that certain towns are not listed.
>
> Ask the UK postal service (or whatever it is called). They should have such
> a list/directory containing all cities with zip codes in digital form
> (probably on CD-ROM).
It's a chargeable item - with annual subscription - depending on the
number of users.
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]