Ryan A wrote:
clip
Your looking at something like. For ages between 21 and 23
$Upper = date(m-d-Y, mktime(0,0,0,date(m),date(d),date(y)-22));
$Lower = date(m-d-Y, mktime(0,0,0,date(m),date(d),date(y)-23));
$sql = SELECT field1,field2,field3 FROM `table_name` WHERE `age`
BETWEEN . $Lower . AND .
Murray @ PlanetThoughtful wrote:
[ snipped ]
when u upload it name it dynamiccaly by appending date and time before
the file name
like this
2005050501010-filename.jpg
Hi, yes, I'm already doing this. Conflict of filename isn't my issue -- it's
whether or not the file should be uploaded at all, in
Mary-Anne Nayler wrote:
Hi Mark,
As far as I can see the only problem is that you have forgotten to add a
semicolon after the i++
Mark:
Since you are not displaying the counter, you really don't need to
mess with $i.
You can reduce your code to just :
?php
$db = mysql_connect(localhost,
Jay Blanchard wrote:
It has come to a point where a vendor is requiring that we use SOAP to
access a service that they provide, so I need some recommendations...
a. Do I build my own request/receipt functions.
2. Do I use something like nusoap or Pears' SOAP classes?
Would those of you who are
Merlin wrote:
Hi there,
I am wondering if there is a function (I could not find) which does the
same thing like strpos does, but with an array.
For example:
$replace = array(picture, pics);
$pos = strpos ($term, $replace);
//if ($pos !== false) {
if (in_array($term,$replace)) {
[EMAIL PROTECTED] wrote:
Hi all.
i've checked the PHP manual but can't find a function for this, perhaps I'm
missing something.
I get a resultset and loop through it but this is in a loop so it only executes
the first time. is this because the resultset is at the end? is there a way to
tell PHP to
Merlin wrote:
Hi there,
I am curious if PHP is now able to pars xml without aditional tools like
xmlrpc.
If yes which version is required? Is the current php 4.x tree sufficient?
4.x requires the expat parser (so I guess it would require external libs).
5.x has the simplexml extension (which I
Greg Donald wrote:
On 5/10/05, Juan Pablo Herrera [EMAIL PROTECTED] wrote:
Hi!
I using php version 4.3.10. I have a script that used the exec
function. Well it script only work from shell, but not work form web
browser.
My php.ini:
safe_mode Off Off
safe_mode_exec_dir no value
Merlin wrote:
Burhan Khalid wrote:
Merlin wrote:
Hi there,
I am wondering if there is a function (I could not find) which does
the same thing like strpos does, but with an array.
For example:
$replace = array(picture, pics);
$pos = strpos ($term, $replace);
//if ($pos !== false
Richard Lynch wrote:
On Fri, May 13, 2005 12:20 pm, Faith Emre YILMAZ said:
anyone knows how to change php ini location?
I m using php5, apache 1.3 on windows xp.
Re-compile.
Since that's not practical for most users, you just have to use whatever
phpinfo says is the right directory.
Add :
#
hima wrote:
Hi all,
I am trying to apply syntax coloring to my source code
as I type it in unix shell. I work on a mac machine.
How do I achieve this.
In the php.ini file I see these following lines
commented out.
; Colors for Syntax Highlighting mode. Anything
that's acceptable in
; font
Jay Blanchard wrote:
[snip]
This is going to a very naive question, but how do I make mysql work
with
PHP 5? I run PHP on IIS on Windows 2000. Help!
[/snip]
Read the instructions http://us4.php.net/mysql
Also See http://www.php.net/manual/en/install.windows.extensions.php
--
PHP General Mailing
Ross wrote:
I want to write a string to a variable and use $_POST or $_GET to retrieve
it on another page.
I keep gettting an undefined index errror. Can someone show me how this is
done?
Do I have to use session_start() ?
This would be ideal.
Have checked the documentation, can't find a
Brian Dunning wrote:
I need to write a cron job that retrieves a zipped XML file via FTP,
unzips it, and then imports the XML into MySQL. I haven't done any of
these three specific functions yet. Before I tear my hair out on each
of these functions, can anyone point me to a simple example of
Chris Shiflett wrote:
Andy Pieters wrote:
I am looking at where I can get my system tested for penetration.
[ snip ]
You might want to check out the links Christophe mentioned, as these
provide free advice, which seems to be more along the lines of what you
want.
I recently stumbled
Richard Lynch wrote:
On Tue, May 24, 2005 2:08 pm, Murray @ PlanetThoughtful said:
I'm wondering if anyone knows of a 'db aware' text editor? By 'db aware',
I
mean one that can pull a recordset back from a local MySQL server and edit
the content of fields much like a standard text editor does
Jim Sara Feldman wrote:
Hi:
I have recently upgraded from a Mac G4 running OS 10.3.9 to a G5
running OS 10.4. I ported a working PHP app and upgraded from PHP 4.3.4
to 4.3.10 and MySQL 4.0.17 to 4.1.11. I am having a problem connecting
to MySQL from PHP.
I can connect to the
Richard Lynch wrote:
On Tue, May 24, 2005 7:24 am, Rahul S. Johari said:
Im trying to delete all files in a folder based on a string match with
the
following code:
?
$dir = '/Library/WebServer/Documents/something.com/subfolder/';
$dp = opendir($dir) or die ('Fatal Error: '.mysql_error());
Richard Davey wrote:
Hello Mário,
Friday, May 20, 2005, 4:48:07 PM, you wrote:
MG http://www.bar.com/[EMAIL PROTECTED]code=vu782
MG for testing, but it does print nothing. So, i'm not getting the
MG parameters from the URL. I have register_globals=Off in php.ini
Jumping in a bit late here,
Jeremy Reynolds wrote:
What function do I use to convert an ASCII character into it's
equivalent number?
http://php.net/ord
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Vlad Golodov wrote:
Hi All!
are here any people who have tried to develop php application using CVS?
What programms have you used for it? CVS should be located on the internet.
I have used CVS before (since its available in Zend Studio) and have had
to do a bit of reconfiguring of Zend
xfedex wrote:
Hi,
Anyone know if theres a way to disable this feature for user using old
browsers or not suporting JS/XML?
Look up noscript
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jochem Maas wrote:
Richard Lynch wrote:
On Mon, June 6, 2005 1:54 am, yangshiqi said:
I have a php application (let's call it app A) which is developed
separated
in a test domain name, like http://testa.xxx.com http://testa.xxx.com/
/.
But now I have to move it to another app (called B)
Merlin wrote:
Hi there,
I am getting more and more emails through my webforms submited by bots.
It looks like some sites liky yahoo are placing an image into their
forms and the human has to enter a code visible on the image to submit
the form.
After some googling I found captcha, but I do
Merlin wrote:
Burhan Khalid wrote:
Merlin wrote:
Hi there,
I am getting more and more emails through my webforms submited by bots.
It looks like some sites liky yahoo are placing an image into their
forms and the human has to enter a code visible on the image to
submit the form.
After
Jon wrote:
I have not used curl before and it looked interesting from the manual.
So, does anyone have a sample script or a tutorial that covers the logon
procedure.
What I want to do is logon to an asp site and download some files. Can
someone point me in the right direction? I have done
Murray @ PlanetThoughtful wrote:
Hi All,
Just wondering if anyone knows of a free weather service that can be
interrogated by PHP for information such as current temperature for a range
of cities around the world?
iirc, weather.com provides a XML feed of such information. Free signup.
--
PHP
Merlin wrote:
Hi Burhan,
you posted a while ago to the php user group:
This is an example of what my script outputs :
http://meidomus.com/code/captcha/
Source available if you are interested.
I would be interested to try that code and alter it to fit my needs.
Would that be possible?
Bosky, Dave wrote:
I need to find a way to allow users to select multiple files from a list
and generate a single PDF file from them.
http://www.fpdf.org
http://php.net/pdf
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jack Jackson wrote:
Hello,
On a site I'm listing measurements in both inches and cm; in the db
they're stored as inches. To convert them to cm I'm doing:
?php echo ($cartoon['art_width'] * 2.54); ? x ?php echo
($cartoon['art_height'] * 2.54); ? cm
How can I limit the result of that math
Dotan Cohen wrote:
Ill I knew about, its I didn't. I didn't mean to put ill in there...
Should I enter each contraction twice (for the capitalization), or
should I try to do something smart so that the capitalization will
happen automatically. The 'I' contractions are special, I will deal
with
Daevid Vincent wrote:
You are on to something. Maybe I did get an email with a confirmation.
I could swear it was via their website though...
There are some pretty crazy Thread-Index: and UID: things in there.
Do I have to generate them somehow?
Anyways, for those interested, this is what
Marcos Mendonça wrote:
Hello
I'm using PHP 4.3.9, under Windows XP with Apache.
I have the following directory structure on a given app, i'm working on.
photos/
folder1
folder2
folder3
... and so on
I'm trying the following code to make a list of folder under
Pedro Quaresma de Almeida wrote:
Hi
I have two databases, on for aeromodelistas (aeromodelling) and
another for Códigos Postais (Postal Codes). I whant to do the
following query
SELECT CódigoPostal FROM Aeromodelistas
WHERE CódigoPostal IN
(SELECT distinct(CP4) FROM
John Nichel wrote:
SPAMMERS lose again!
Off to /dev/null with you and your technology.
We really need moderators on this list :(
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dan Rossi wrote:
Hi there, an internal client of ours requires spell checking in their
textarea forms on names of people for searching thousands of records
properly. What it needs to be able to do is add new names to the
dictionary. The server its on is a few years old, it already has the
Richard Davey wrote:
Hello Graham,
Friday, July 1, 2005, 12:54:42 AM, you wrote:
GA if $_SERVER['SCRIPT_NAME'] give this
GA /folder/folder/Library/php/filename.php
$_SERVER['SCRIPT_NAME'] won't give you that,
$_SERVER['SCRIPT_FILENAME'] would.
SCRIPT_NAME would just give you
Andrei Verovski (aka MacGuru) wrote:
Hi,
I have a PEAR-related question. My class library using some PEAR
packages, and I would like to make it self-contained, i.e. to be able
to move it to a server (for example MacOS X) which do not have (and
will not require) installation of any PEAR
Jay Blanchard wrote:
[snip]
and box of bending straws.
[/snip]
Nice.
LMAO -- and now, back to the show.
For those that really were looking for a xml-based templating enging,
IBM's DW has one that you can download the source to. Its not PHP, but
hey, its a start. Google for
Robert Cummings wrote:
On Fri, 2005-04-29 at 23:55, Rasmus Lerdorf wrote:
Robert Cummings wrote:
I don't think that templates have a dependency between the number of
pages using the template and an increase in the number of functions. In
fact depending on the template, and the template
xfedex wrote:
Hi,
Has anybody use this function?
http://www.php.net/manual/en/function.imageconvolution.php
I dont know what a matrix3x3 array is.
This means three columns and three rows:
x x x
x x x
x x x
^ Like that.
And so, if someone has experience on random image generation, it would
Brian Dunning wrote:
I am cross-posting this to the PHP and the MySQL lists because I'm not
sure in which technology my solution will lie.
I have a pretty busy PHP/MySQL site that executes the following query a
lot:
select count(*) as `count` from terms;
My MySQL account was disabled by
Joseph Lee wrote:
Hi,
I tried file() in the following lines:
?php
$authFile = file(/tmp/authenticate.txt);
print authFile = $authFile;
?
However, it only gave me
authFile = Array
What's wrong with this file function? I tried single
quotes, but got the same answer, too.
Nothing. You
Rasmus Lerdorf wrote:
[ snip ]
A better option may be to just use mod_rewrite. Something along the
lines of:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)\.html$ $1.php [T=application/x-httpd-php,L]
You should verify this with the mod_rewrite docs, but this should only
rewrite a
Alessandro Rosa wrote:
Thanks to all for clear responses!
So just a question now, why have not multiple constructors been implemented?
Are there some security issues related to them ?
As far as I know, its not a security issue, but a structure/design issue.
--
PHP General Mailing List
Chris W. Parker wrote:
Robert Cummings mailto:[EMAIL PROTECTED]
on Friday, July 08, 2005 5:25 PM said:
Thus siteMask should have one of the following values:
(1 1) == 2 // only site1 can use the product.
(1 2) == 4 // only site2 can use the
Bruce Gilbert wrote:
Hello,
I am trying to add a PHP search to my site and the read me file says to:
2. In the server, create a database in MySQL to hold Sphider data.
a) at command prompt type (to log into MySQL):
mysql -u your username -p
Enter your password when prompted.
b) in MySQL,
Edward Vermillion wrote:
Bruce Gilbert wrote:
Hello,
I have a form on my site
http://www.inspired-evolution.com/Contact.php
produces this error on submission
Parse error: parse error, unexpected T_STRING in
/hsphere/local/home/bruceg/inspired-evolution.com/Thankyou.php on line
35
Well..
timothy johnson wrote:
$id = $_GET['id'];
$query = SELECT * FROM myPhotos WHERE photoId='$id';
$result = mysql_query($query);
$row = mysql_fetch_assoc($result);
$im = imagecreatefromstring($row[photoData]);
$size = getimagesize($im);
Mark Rees wrote:
Ross [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have a query
$query = SELECT * FROM sheet1 WHERE '$filter' LIKE '$search_field%'
Simply requery the database for each search. For example, this orders the
results by surname from a-z
$query = SELECT * FROM
Marek Kilimajer wrote:
Andy Pieters wrote:
Ok found the solution, seems like one page is on http://server.org.uk
and the other on www.server.org.uk even though its the same server it
generates a different session id!
set the domain of the cookie to 'server.org.uk', it's the fifth
Fredrik Tolf wrote:
Hi!
I've begun to be more and more displeased with Apache lately, so I've
been thinking of writing my own HTTP server instead. I still want PHP
support, but writing a new SAPI for PHP seems like overkill.
What's so bad about Apache?
Therefore, is it possible to use PHP
Please add OT to the subject if the topic has nothing to do with PHP. OT
= Off Topic.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Rasmus Lerdorf wrote:
Daevid Vincent wrote:
Is there a way to get the name of a variable as a string? For example...
Nope, not possible.
Well
ob_start();
echo '$var';
$contents = ob_get_contents();
ob_end_clean();
echo 'Variable Name is : '.substr($contents,strpos($contents,'$')+1);
Jasper Bryant-Greene wrote:
Jesús Alain Rodríguez Santos wrote:
Hello I'm new:
I need to know how can I stop a php sentence if my db is empty, for
example
I have writed a php sentence, if every fields from mmy db are full, there
is no problem, but I delete every values from the all fields in
suma parakala wrote:
Hi
I am retrieving data from postgresql and displaying it in form of table
in different rows.
my problem is when check box is clicked i need to change the color of
the row .agai when the check box is unclicked it should hold the old color.
Can any one please help me
On Jul 29, 2005, at 8:07 PM, Tom Ray [Lists] wrote:
We built a box about 7 months or so ago using the SuSE 9.1 cd's,
straight install from the CDs. While I've read that sessions are
turned on by default, when we try to call on the sessions functions
(like with phpOpenChat or
On Aug 1, 2005, at 3:18 AM, Robert Cummings wrote:
On Sun, 2005-07-31 at 20:04, Sam Smith wrote:
I don't recognize this something(__SOMETHING__) format. I know
what it's
doing but I don't know how it's doing it.
Constants of the type __SOMETHING__ are historical constants for
retrieving
On Aug 1, 2005, at 5:45 AM, Roger Thomas wrote:
Quoting Jim Moseby [EMAIL PROTECTED]:
I'd repost the link for you, but I've already deleted it. Sorry.
Look back through the archives.
JM
I searched for 'Jim Moseby calendar' in the general and Dev mailing
list but no go. Anty clue?
On Jul 28, 2005, at 9:28 AM, Linda H wrote:
Hi,
I must admit I am surprised at the paucity of date and time
functions in PHP.
I have a date stored in a MySQL database in field of datatype date.
PHP doesn't seem to have a function I can use to format it for
print. I tried the following
Mauricio Pellegrini wrote:
Hi ,
I wonder if it's possible to retrieve the value from a php session
variable from within a javascript function.
Does anyone have any ideas about this?
No. You cannot retrieve it, restore it, read it, send it, anything else.
You can write it from PHP :
echo
[EMAIL PROTECTED] wrote:
Hi,
How can i found out the average time users spent on a page. Anyone know a
tutorial?
Thanks in advance for your help !!!
PLEASE ONLY SEND YOUR MESSAGE ONCE!!!
Also, remember that google is your friend.
--
PHP General Mailing List (http://www.php.net/)
To
[EMAIL PROTECTED] wrote:
In a message dated 8/6/2005 10:59:44 P.M. Central Standard Time,
[EMAIL PROTECTED] writes:
As far as I know, it's not a shared hosting issue, but a permission issue.
The site admin has not given the user under which your php scripts run
permission to create
Sam Smith wrote:
shell_exec(zip -r ddd ddd); // don't work
safe_mode off, works from command line php. What could it be?
You need to give the full path to zip.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Brian Dunning wrote:
Hey all -
I have an unused Pentium box here, recent, well loaded with RAM and HD.
I want to turn it into a LAMP box. Never done that before; is there a
preferred one-stop-shop installer CD or anything (easy - knock on
wood)? It would be nice to end up with some kind
Thomas wrote:
Hi there,
How can I do something like this:
[snip - theoretical code] if( isset($step) ) echo step.$step() ) [/snip]
$step would be an int (I would check that before) and then I would have all
sorts of functions like step1(), step2() . etc.
Use call_user_func().
Roger Thomas wrote:
Am looking for code snippet to download file. It should be able to detect
mime-types. Thanks.
http://www.php.net/manual/en/function.header.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Alan Milnes wrote:
I'm interested in extracting a series of web pages from a Yahoo forum
and storing them in a MySQL database so I can generate things like most
number of posts etc. I've searched on Google but most of the links seem
to be for email harversters!
Anyone have any tips for
Bagus Nugroho wrote:
I was uncomment php_mysql.dll and added php_mysqli.dll, put edited php.ini as
recommended, also added libmysql.dll on c:\winnt\system32. But it still doesn't work, it
still generate cannot load mysql extension,
Previously, I was edit system variables(edit Path
Tim Burgan wrote:
Can I extend this..
On a live server I have PHP 4.1. If I upgrade to PHP 5, is something
likely to stop working?
99% yes. Especially if you really mean 4.1.0 -- that's quite old.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Saenal M wrote:
Hi,
Can we get information about hardware on client's PC. (e.g. hard disk,
processor, keyboard, etc).? And How?
anyone knows? please reply back.
No, this is not possible with PHP.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Alex Scott wrote:
Hi there,
I discovered that our website was not working properly today (To my
horror).
Hosted on redhat enterprise 4.
I think that there is a problem with php 4.4 talking to Apache mysql 4.1
as the php pages which do not talk to the DB are working but other php
pages are
Michael Baas wrote:
Hi,
I have a script which works fine for many users, but for some it doesn't.
I've been able to narrow it down to the imap_open-Command which just hangs
'forever'. I have verified that the imap-extensions are available, but other
than that I have no ideas what's going on
Louie Miranda wrote:
But when i try it on a image, that has been created with GD. It does
nothing.
I just want to confirm, it what im doing with the fonts possible thru
GD/Jpeg?
Please help, if this aint possible. I think imight purchase the PDFLib
instead to test the unicode support.
Anas Mughal wrote:
Could someone please share with me sample code for:
- Adding an XML node to an existing XML document.
http://www.php.net/manual/en/function.domnode-append-child.php
http://www.php.net/manual/en/function.dom-domnode-appendchild.php
- Modifying the value for a given XML
wayne wrote:
When I run a script from a package I download, it always
bombs out on this section. I think that its getting
the wrong parameters when it tries to make the Connection.
I use PostgreSQL as my DB.Moodle is the name of the database and
the user is moodleuser. I do not have a password
Jasper Bryant-Greene wrote:
Robert Cummings wrote:
On Wed, 2005-08-24 at 23:12, Jasper Bryant-Greene wrote:
Graham Anderson wrote:
Is there a way to loop thru all of these GET requests by:
putting the GET variables into an array
processing the variable strings with trim/striptags/etc in a
Jasper Bryant-Greene wrote:
Burhan Khalid wrote:
Jasper Bryant-Greene wrote:
Robert Cummings wrote:
[snip]
Still need to check isset() status unless you've disabled E_NOTICE
which
I don't advise since it's sloppy ;)
Yeah, I usually would in a real script. Just slipped my mind when
Philippe Reynolds wrote:
Greetings,
When I do an ifconfig in unix, I see the the IP address for the my
ethernet. It follows something called inet.
Would anyone know who to manipulate the socket functions to be able to
extract the inet IP address fromt the eth0 section??
?php
Jay Blanchard wrote:
[snip]
Now I am not worried about the time but I would like to know how to
(i) sort the returned rows in order (latest first)
add ORDER BY `yourdatefield` DESC to your SQL
(ii) be able to extract the individual parts of the date and display
them in
UK format
Have no
[EMAIL PROTECTED] wrote:
Having a heck of time getting anything to work, can anyone make a suggestion
to the following.
I need a webpage that displays 5 recurring meeting dates, i.e. the second
Wednesday, Thursday, and Friday of each month in five different locations.
?php
echo Current
,
Burhan
[EMAIL PROTECTED]
-Original Message-
From: Burhan Khalid [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 11, 2005 6:55 AM
To: [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Subject: Re: [PHP] Date/Time Display for recurring monthly event
[EMAIL PROTECTED] wrote:
Having
babu wrote:
Hi,
how to convert DD.MM.YYand HH:MM:SS into mysql date( '-MM-DD' ) and time format. I think the time is same as HH:MM:SS.
[EMAIL PROTECTED] ~ $ php -r 'echo
date(Y-m-d,strtotime(str_replace(.,/,12.12.05))).\n;'
2005-12-12
Hope that helps :)
See http://php.net/date
Philip Hallstrom wrote:
Hello All,
I'm having some issues with carriage returns. Specifically the control M
character (^M). I have attempted to clean and validate the file I'm
creating. Here's the code.
while ($row = mysql_fetch_array($result)){
// assign and clean vars
$artist =
Dotan Cohen wrote:
I am running php 5.0.4 at home on my Fedora Core 4 box. Post and get
variables are not available in my scripts. For instance, in
file.php?foo=bar the variable $foo is empty. Same thing for variables
passed in forms (get or post), which is how I came across this.
What could
Nahalingam N. Kanakavel wrote:
hi all,
If any scripts available to draw a list view.
Plz help me, by giving some links or scripts avilable with you.
What is a list view?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[EMAIL PROTECTED] wrote:
Problem w/ reading a txt file.
The error I get is Warning: opendir(/home/pudlz/public_html ): failed to
open dir: No such file or directory
Here's my code::
$main = file('folders.txt');
$counter = count($main);
for($i=0;$i$counter;$i++)
{
if
Peppy wrote:
I've searched online and am unable to find how to increment by more than one in
a for loop.
for ($i = 1; $i = 6; $i++) {
Is it possible to increment $i by 5?
Everyone has responded with the correct answer, but you do realize that
this loop will only run twice? It will print 1,
Tim Burgan wrote:
Hello,
I've developed my site, and tested on a web host (Apache, PHP 4.3.9).
Now I've uploaded to a different host (IIS, PHP 4.3.1) where I want to
keep it, and I get session error messages like:
Warning: session_start() [function.session-start
Michael Gale wrote:
Hello,
I am running php 4.3.7 with ncurses support. I want to create a
small app using php and ncurses but I will need to get some information
from the shell environment variables.
I have searched every where ...is this possible ?
Michael Sims wrote:
Jochem Maas wrote:
[EMAIL PROTECTED] wrote:
If one must check the value and not just the existence of the
checkbox entry, or for other uses, e.g. where a flag may or may not
be present, one is saddled with clumsy constructs like:
if (($isset($array['index'])
tom soyer wrote:
Thanks for the error handling code. I think PHP still has a basic
problem. If mysql sever connection times out because wrong username or
password was used, then mysql_connect() should return FALSE. But this
is not the case, why? Is it possible that mysql_connect() could not
read
Alp wrote:
Hi Jochem,
Intention is to give a user the option of assigning position of a
section on the page, i.e:
First: sectA, then sectC, then sectE, then sectB and sectD or any other
order that is indicated by the user. So it is somewhat like top-of-page,
mid-of-page etc but with a
D_C wrote:
$this-parent = mysql_fetch_object($res); // returns a mysql obj with
age, loc etc records
then ...
$age = $userObj-age; // this actually comes straight from the dbase obj
$rating = $userObj-rating; // a public var calculated at construction
$life = $userObj-getSpend(); // this is
Marek Kilimajer wrote:
GH wrote:
However, this does not tell you if they are using the Old or New
Password on the newer version... how can i check that?
If you can connect with mysql_connect(), its using the old password switch.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
John Nichel wrote:
Jason Motes wrote:
Hello,
[ snipped]
Maybe if you send it 5 more times, someone will answer you.
I thought I was having problems with my email server, till you posted
this one.
Thanks,
Burhan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Eduard Grigoryan wrote:
Hi,
I'm new to PHP and I'd appreciate your advice a lot.
I'm trying to use dynamic PHP links instead of plain HTML and I'm gonna use
something like
this:
File index.php:
?
a href=index.php?content=story.htmstory/abr
a href=index.php?content=about.htmabout/abr
?
Shaun wrote:
Hi,
I have am trying to create functions to convert strings to ascii and vice
versa:
http://www.php.net/ord
http://www.php.net/chr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Torsten Rosenberger wrote:
Hello
is there a way to parse the named.conf file with preg_match_all to get
back an array which looks like
[options][directory] = '/var/lib/named'
[options][forwoarder] = '192.168.0.2'
[zone][mydomain.com][type] = 'master'
[zone][mydomain.com][notify] = 'yes'
C.F. Scheidecker Antunes wrote:
Hello all,
Does anyone upgraded from MySQL 4.0 to MySQL 4.1 using PHP 4 code?
If so, what are the changes that were required on the code?
PHP website says that it is required to install a new MySQL extension.
http://www.php.net/mysqli
^---
1 - 100 of 509 matches
Mail list logo