I wrote :
I have problems with relative paths and 4.3.0. Include() do not seem to
work the same way in 4.3.0 and 4.2.1.
This is mostly due to a characteristic of Solaris and a minor change in
the way PHP handles includes (I guess):
1) Before parsing a script, PHP sets the directory of this
I have problem with session in MS IE.
When I open new window from main window and then I close this window, in
parent window are lost all session variables.
Libor
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have 2 pages that shows a table contents
On one, it shows the title and date with the following script
**
?
// includes
include(../regulations/conf.php);
include(../regulations/functions.php);
// abre ligação à base de dados
$connection =
Peter Gumbrell wrote:
In the following code
$view = $HTTP_GET_VARS[view];
print $view;
if ($view == vendor)
{ code here
}
print $view produces 'vendor'
but the if statement in the next section isn't being triggered. Can
anyone see what is wrong here? I have tried double quotes, single
- Original Message -
From: Erich Beyrent [EMAIL PROTECTED]
To: Sunfire [EMAIL PROTECTED]
hi..
how would you test for an empty (unused) variable from a form..
i have a phone number split into 3 different vairiables
and want to test
to
see if they were used in the
Hi,
Does anyone have a working example or a hint in the right direction for the following;
I have a form where the user selects for example; how many cars you have: 4. Then it
most dynamicly create 4 input fields (with different names) in the form where they can
fill in the car brand and also
Hi,
Does anyone have a working example or a hint in the right direction for the following;
I have a form where the user selects for example; how many cars you have: 4. Then it
most dynamicly create 4 input fields (with different names) in the form where they can
fill in the car brand and
Hi Frank,
I have a form where the user selects for example; how many cars
you have: 4. Then it most dynamicly create 4 input fields
[...]
Using only PHP, you'll have to make this a two-step process where page 1
collects the number of cars and posts to page 2, which generates the form
I've been asked to write code that will dynamically generate Microsoft
Powerpoint presentations. It has to assemble collections of pages, and
possibly substitute a word or phrase here and there (mailmerge style).
There doesn't seem to be a published document describing Powerpoint file
I'm sorry for my english
if you know mailing-list about php in Chinese language, please let me know!
thanks!
Yang Zhaori
-Original Message-
From: Sunfire [mailto:[EMAIL PROTECTED]]
Sent: 06 February 2003 21:27
actually so does empty end up testing true on an empty var...
thats because
empty thinks or string(0) is actually a string just
blank... a trick to
do with empty is use !empty which will
Any thoughts as to why this snippet:
25: if ($attach != none)
26: {
27:$file = fopen($attach, r);
28:$contents = fread($file, $attach_size);
29:$encoded_attach = chunk_split(base64_encode($contents));
30:fclose($file);
would produce these errors:
Warning: fread(): supplied
Yes, see http://www.php.net/manual/en/language.variables.predefined.php
You should use $attach = $_GET['attach']; before if it's comming from an URI
or $_POST or $_SESSION or $_COOKIE...
--
Regards.
M.CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com Hébergement de sites internets.
Brian V
Hi,
Why is function imagecreatefromjpeg() undefined in PHP 4.3 when GD is
enabled and imagecreatefrompng() id defined?
Is it a bug? Or?
My ISP config:
System Linux titan 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002 i686
Build Date Jan 24 2003 19:35:29
Configure Command './configure'
You need to install jpeg-6bftp://ftp.uu.net/graphics/jpeg/ and
dd --with-jpeg-dir=DIR.
--
Regards.
M.CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com Hébergement de sites internets.
Sed [EMAIL PROTECTED] a écrit dans le message de news:
000901c2ceb3$90746450$[EMAIL PROTECTED]
Hi,
Why is
Typos:
You need to install jpeg-6b ftp://ftp.uu.net/graphics/jpeg/
and then add --with-jpeg-dir=DIR on your configure line.
Regards.
M.CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com Hébergement de sites internets.
- Original Message -
From: [EMAIL PROTECTED]
Newsgroups:
So, why is this function not included in GD like imagecreatefrompng()?
Can this be just bad configuration at my Administrator behalf?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 7. febrúar 2003 14:15
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Why is function
It is not included because your didn't installed jpeg lib.
GD needs an external lib to work with jpeg, so yes it's an administrator's
work.
--
Regards.
M.CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com Hébergement de sites internets.
Sed [EMAIL PROTECTED] a écrit dans le message de news:
php-general Digest 7 Feb 2003 14:23:58 - Issue 1869
Topics (messages 134702 through 134724):
problems with ==?
134702 by: Peter Gumbrell
134703 by: Martin Towell
134710 by: Seraphim
Re: WYSIWYG Content Management system?
134704 by: . Nilaab
134705
Hey Thanks for your nice advice. I will definately
think about it.
Hardik
--- @ Nilaab [EMAIL PROTECTED] wrote:
Why don't you two gather up a few more developers,
decide on what is needed
and what the goals are, then assign parts to build
for the new CMS. Once
finished, you can maybe
Any thoughts as to why this snippet:
25: if ($attach != none)
26: {
27:$file = fopen($attach, r);
28:$contents = fread($file, $attach_size);
29:$encoded_attach = chunk_split(base64_encode($contents));
30:fclose($file);
would produce these errors:
Warning: fread():
On Fri, 2003-02-07 at 09:44, Rich Gray wrote:
Any thoughts as to why this snippet:
25: if ($attach != none)
26: {
27:$file = fopen($attach, r);
28:$contents = fread($file, $attach_size);
29:$encoded_attach = chunk_split(base64_encode($contents));
30:
[snip]
After upgrading from 4.0.6 to 4.3.0
Most probably because with 4.3.0 register_globals is set to OFF
by default -
where does $attach get set?
Nope, I do have register_globals on in php.ini
Its being set in another file like this:
form enctype=multipart/form-data
On Fri, 2003-02-07 at 10:13, Rich Gray wrote:
Hi Brian
Why are you using $_GET[] when your form is submitting via the 'post'
method?
My bust, just a typo. It's actually: if ($attach != none) that is
beign used anyway.
Secondly for file uploads why are you not using the $_FILES[]
Hi Everyone,
I am curious to know how one can develop 3-tier web
based applications using PHP, MySQL. Here Database
should be changed in future using database abstraction
layer. Can anybody tell me in detail that how can i
build 3 tier flexible web application?
More questions on this thread:
1.
Ok,
overspoken. I'm going to write my basic CMS Concept here, and let us see
what happens then. My Multilanguage Frontend Engine has even finished,
but still needs a nice Admin Frontend to do the translation of the Frontend.
Ok, lets start. Later I will tell some about the things which I could
Parts which should be entered in the Site, but which are not written down yet:
1. Newsletter / Mailinglist Funktionality
The Newsletter should be part of the Article Management and work in the same way as
writing a new article.
Mailinglist is what ever it is. Maybe a Majodomo implementation or
I'm working with Oracle 8.1.5 and my connection is working fine as well as my SQL
parsing but I want that when there's an error, show and friendly message to the user
and not an Oracle error. How can I catch the error and display it ??
Thanks,
Fernando Cruz
Ok so for seperating interface and PHP code, smarty
templace engine is the best right?
What about database abstraction layer?
thanks for your information. I really appreciate that.
Hardik
--- John Wells [EMAIL PROTECTED] wrote:
Hardik Doshi said:
1. How one can seperate HTML and PHP (or
Hardik:
Maybe this can help:
Im currently using PHP using MCV (Model Control View) Methology, Model
is about libraries and classes like the business rules of your
application,
Control has to do with the como control sentences you must use like IF,
WHILE,FOREACH, ... , and View is the look and
Secondly for file uploads why are you not using the $_FILES[]
superglobal array?
I did not write the app, just trying to figure out why it stopped
working after upgrading PHP. You think that's the problem?
Well try ...
if (is_uploaded_file($_FILES['attach']['tmp_name'])) {
//
Hi Sascha,
Really Nice. I like your thoughts about CMS. Today i
am looking in PHP Nuke CMS and i found it has really
nice functionalities. I don't know much about PHP nuke
CMS. That's what you are looking for? Give some
thoughts on PHP Nuke project.
thanks and all the best for your ideas
Hardik
Hi Daniel,
Thanks for your comments.
What is the difference between PHP nuke and Smarty
engine?
Can we use PEAR or ADODB as database abstraction
layer? Which one is the best on everyone's experience?
thanks
Hardik
--- Daniel Masson [EMAIL PROTECTED] wrote:
Hardik:
Maybe this can help:
Hi,
I'm trying to read a file that contains a group of numbers, each of them in one line
of the file. I need to verify that the file is valid, so i read line by line and test
if the line is numeric:
...
$line = fgets ($FileDesc);
$line = trim ($line);
if (!is_numeric ($line))
return 0;
--- Hardik Doshi [EMAIL PROTECTED] wrote:
What is the difference between PHP nuke and Smarty
engine?
A better question would be what is the similarity. Smarty
is a template engine. PHP Nuke is an application written in
PHP.
Chris
--
PHP General Mailing List (http://www.php.net/)
To
You may be interested in the article: Using PHP to Develop Three-Tier
Architecture Applications
(http://www.zend.com/zend/tut/tutsweatpart1.php)
David Eisenhart.
Hardik Doshi [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi Everyone,
I am curious to know how
Hardik:
PHP nuke is 100% CMS, snarty offers the posibility to integrate SMART
templates to you php application, smarty templates can do lots of tasks
that you used to perform on your php scripts ... there are tutorials on
zend.com .. and im sure that if you learn how to use it ... youll be
very
Hello there,
i have to check if there's a dot in a string, and i need nothing but the
regex pattern for this... tryed a lot, but the dot itself means to matches
all.
can u help ?
regards
marian feiler
--
Internetservice Marketing Agentur
isurfin.net Marian Feiler
Altenessener Str. 99
About the database sigue .. i dont use ADOD or PEAR .. I use this:
//Class to handle ALL operations an ANY database
Class data_base (
//Predetermined value of attributes, you can safely override
this when //do many instances of this class
$dbtype = mssql;
$duser =
Now it is fixed, and the language translation does work now the
right way. Its not much to see, but there is something to see. So
dont expect to much.
In http://bmc.customer.speedlink.de/freecon/admin/admin_from.php
is a small script which alows you to to enter a new language, but yet
there is no
i have to check if there's a dot in a string, and i need nothing but the
regex pattern for this... tryed a lot, but the dot itself means to matches
all.
you can read a little and not very clear introduction here:
http://nl.php.net/manual/nl/pcre.pattern.modifiers.php
and
On Fri, Feb 07, 2003 at 05:29:49PM +0100, Marian Feiler wrote:
i have to check if there's a dot in a string, and i need nothing but the
regex pattern for this... tryed a lot, but the dot itself means to matches
all.
You can escape the dot either by putting a backslash in front of it or
i have a combo box on a web page that gets all the companies names from a
mysql table and puts them in the combobox.. when someone picks a name and
hits an edit button it takes them to a form where all the values in the
table fields for that record are shown as default values for the form
fields.
What else does ksort() do to the array??? Does it matter that my keys look
like this: '[some-text]'???
This works great:
foreach($myarray as $key = $val) {
echo $key = $val;
}
This gives me a Warning: Invalid argument supplied for foreach():
$sortedarray = ksort($myarray);
working on a peice of code that should be pretty easy, but for some reason I
am not getting any results.
I want the first 10 characters of each line from the file I am reading and
am using this code:
$temp = str_replace(\n, , fgets($fp, 4096));
$line = substr ($temp, 0,
On Fri, Feb 07, 2003 at 11:09:10AM -0600, Shawn McKenzie wrote:
What else does ksort() do to the array??? Does it matter that my keys look
like this: '[some-text]'???
This works great:
foreach($myarray as $key = $val) {
echo $key = $val;
}
This gives me a Warning: Invalid argument
I have an application that updates two MySQL database tables. One table has an
auto_increment id field. I need to use this id to link to an entry in the other
table. Is there an easy way to find out what the auto_incremented number is so I can
use it to update the other table?
Robbert van
Try this
$temp = fgets($fp,4096);
$line = substr($temp,0,10);
Robbert van Andel
-Original Message-
From: Paul Reilly [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 9:06 AM
To: [EMAIL PROTECTED]
Subject: [PHP] substr() help
working on a peice of code that should be
Hi Robbert,
Is there an easy way to find out what the auto_incremented
number is so I can use it to update the other table?
Sure, have a look at mysql_insert_id:
http://php.net/mysql_insert_id
Cheers
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
any one know how display Chinese Characters (tradition or simplified) in
GD.?
is that something deal with multibyte functions...?
i have installed the bundled GD and Libjpeg
they all worked perfectly with english words
but when i generate a Chinese character, it just display two symbols
i've
//connect to server and database
?php
include(conf.inc);//config file for db, username...
mysql_connect($host, $mysqluser, $mysqlpwd)||die(cant find $host or
username/pwd wrong);
mysql_select_db($db)||die($db doesnt exist or has a problem...);
//following code goes for each combobox to use
//if
Thanks, I knew there was a function like this, but couldn't for the life of me
remember what it was or find it.
Robbert van Andel
-Original Message-
From: Jon Haworth [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 9:28 AM
To: Van Andel, Robbert; [EMAIL PROTECTED]
Subject:
Ah Thanks!
-Shawn
- Original Message -
From: Paul Chvostek [EMAIL PROTECTED]
To: Shawn McKenzie [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, February 07, 2003 11:18 AM
Subject: Re: issues with ksort()
On Fri, Feb 07, 2003 at 11:09:10AM -0600, Shawn McKenzie wrote:
What
I was making an aplication few months ago, and i had your same problems. I
think that crash because the php file send to the client its to large, and
the client machine dont have the necesary memory to suport that in the
navigator.
So i chanche my grid to one row of controls, and i put all the
I need to get a password value from a form, store it in a database and then
later be able to compare a login password to the one stored in the db.
This works great unless the password contains the '\' char.
magic_quotes_gpc is ON and magic_quotes_runtime is OFF.
As a klude, I tried just removing
Hi,
Thanks for the answer; but there is nobody who can show me an example in
code???
Regards,
Frank
- Original Message -
From: Jon Haworth [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, February 07, 2003 1:45 PM
Subject: RE: [PHP] Dynamic input fields in Form
Greetings, people.
I have the following code to upload an image to a db:
if (isset($imgLogo) $imgLogo != none)
$data = addslashes(fread(fopen($imgLogo, r), filesize($imgLogo)));
else
$data = ;
Then I just INSERT INTO table (image) VALUES $data but I think that the string that
Hi,
Saturday, February 8, 2003, 3:30:11 AM, you wrote:
ED any one know how display Chinese Characters (tradition or simplified) in
ED GD.?
ED is that something deal with multibyte functions...?
ED i have installed the bundled GD and Libjpeg
ED they all worked perfectly with english words
ED
Hi guys,
I have 2 strings
$a1=1,8,98,244,9,243,2,6,36,3,111,;
$a2=8,98,244,9,243,2,1,6,36,3,111,;
How can I exactly match 1, in both strings using one regular expression?
(first 1 is the first element and second time in a random position)?
Thanks,
Radu
--
PHP General Mailing List
Based on your description it could litterally be coded one of a hundred
different ways. The way I would code a small problem like this is in a
monolithic logical construct such as the if/else statement below. This
allows you to be a little bit more careless how you construct the page.
Another
Hey,
I can't seem to figure this out. I am modifying some else's script I added
some rows to the myself database and no I get this error when I try to add
information to the database.
I am searching the docs but I can't seem to find the answer.
Thanks,
Jeremy
--
PHP General Mailing List
On my phpinfo() it shows Virtual Directory Support to be DISABLED .. does anyone know
what the switch setting is called in the php.ini file to ENABLE this setting?
Thanks!
- Original Message -
From: Jeremy Bowen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 07, 2003 1:30 PM
Subject: [PHP] Column count doesn't match value count at row 1?
That means the the number of columns in the fields clause doesn't match the
number in the values. For
I place
session_start();
if (!session_is_registered('somevar'))
{
header('location: login.php');
exit();
}
at the top of all my pages to prevent people to view pages before they log
in. However, once thay have logged in succesfully, they can ctrl-U in IE to
open a new window. This new
--- Jeremy Bowen [EMAIL PROTECTED] wrote:
I am modifying some else's script I added some rows to
the myself database and no I get this error when I try
to add information to the database.
Most likely, the SQL statement in question is something
like this:
insert into foo values ('bar', 'php',
I have a problem with transfer of Image files to the server. I've checked
with the aid of phpinfo on my service provider's server and this is what I
found upload_max_filesize 200K.
My page needs to upload 9 images simultaneously each one of them having the
size between 45 kb to 50kb,
Can any
That's interesting.. the session id should be different for each instance of
the browser. The only exception I can think of is the MacOS since it runs
multiple windows within the same instance of the application. This
assumption is untested of course. Maybe it would help for you to explain
why
Hello All,
I have been runing PHP BB2 successfully on my site for a couple of
months . Recently I got this error.
phpBB : Critical Error
Could not connect to the database
Can someone tell what this means..??
Many Thanks
--Pushpinder Singh Garcha
_
Web
I have been runing PHP BB2 successfully on my site for a couple of
months . Recently I got this error.
phpBB : Critical Error
Could not connect to the database
Can someone tell what this means..??
It means phpBB cannot connect to the database.
---John Holmes...
PS: You'll want to check
I place
session_start();
if (!session_is_registered('somevar'))
{
header('location: login.php');
exit();
}
at the top of all my pages to prevent people to view pages before they
log
in. However, once thay have logged in succesfully, they can ctrl-U in IE
to
open a
If you are using cookies the new window will pick it up. Have the original
page change a variable to say that it has loaded then when the new window
loads have it check that variable first.
-Original Message-
From: Roman Sanchez [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003
If you are using cookies the new window will pick it up. Have the original
page change a variable to say that it has loaded then when the new window
loads have it check that variable first.
How do you tell a new window from a new request though? You can't. The
cookies are all there, the
Thanks for the answer; but there is nobody who can show me an example in
code???
You mean do the work for you? Do you want the PHP or Javascript solution?
Only one can be posted on this list...
The PHP one is simple. Assuming $_POST['num'] is the number from your drop
down...
If someone wants to call your .inc file like http://www.my.site/lib.inc
they will see the code, as it is a text file. OK, we all know that.
As the .inc file is in reality a renamed php script, containing variables,
functions, etc, if you call it .php instead of .inc, it will be parsed by
PHP,
$a1=1,8,98,244,9,243,2,6,36,3,111,;
$a2=8,98,244,9,243,2,1,6,36,3,111,;
How can I exactly match 1, in both strings using one regular expression?
(first 1 is the first element and second time in a random position)?
if(preg_match('/(^|,)1(,|$)/',$str))
{ echo one is found; }
---John
Can anyone tell me a tutorial on how to setup a multi-user
phpmyadmin installation? I would like to just have one central copy, then have
other users able to access their corresponding database in phpMyAdmin. How can I
do this?
Thanks,Stephen Cratonhttp://www.melchior.us
"What's the point
//Class to handle ALL operations an ANY database
You may want to change that... it only does 2 operations and it only does
them for two databases...
---John Holmes...
- Original Message -
From: Daniel Masson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 07, 2003 11:28
The easiest way is to create a timestamp field (see manual depending on how
you want to store the date, as you can go from to ddmmhhmmss...),
and when you create your DB update query, use now().
for example, update a field with a new email address, and the user's current
ip with the time
Can anyone tell me a tutorial on how to setup a multi-user phpmyadmin
installation? I would like to just have one central copy, then have other
users able to access their corresponding database in phpMyAdmin. How can I
do this?
Thanks,
Stephen Craton
http://www.melchior.us
What's the point in
Well, since is_numeric('.101972E+00') works on it's own, there must be
something else coming with it from the file that makes it fail. Try to
trim() each number before you test it. Maybe that'll help.
---John Holmes...
- Original Message -
From: fmendezpalma [EMAIL PROTECTED]
To: [EMAIL
--- Daniel Page [EMAIL PROTECTED] wrote:
If someone wants to call your .inc file like
http://www.my.site/lib.inc they will see the code,
as it is a text file. OK, we all know that.
No, we don't, because that is not entirely correct. There
are many cases where your Web server will not serve
Hi All,
Imagine I have a giant database table tracking email addresses (I don't but
it is the first example that jumps to mind after my recent antispam
campaign!).
If i do a
select * from mailaddresses;
I will get all of the table.
If i do a
select * from mailaddresses where id 10;
I will get
select * from mailaddresses where id 10 LIMIT 10;
-Original Message-
From: Daniel Page [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 2:53 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Limit the amount of returns in a MySQL query
Hi All,
Imagine I have a giant database table
if (!isset($startlimit)) {
$startlimit = 0;
}
$endlimit = $startlimit + 10;
$yourquery = your query data LIMIT $startlimit, $endlimit
that should give you enough insight on how to work it.
Chad
-Original Message-
From: Daniel Page [mailto:[EMAIL PROTECTED]]
Sent: Friday,
IIRC, when you use the 'cookie' or 'http' method of authentication, it'll
validate everything against the actual mysql.user database and only let them
access what they have permissions to. In other words, you set up your users
and permissions in MySQL. When they log into PHPMyAdmin, they're
Quickie
I want to save a modified jpeg to a file. I can out put it by doing this:
Header(Content-type: image/jpeg);
imagejpeg($image_thum);
imagedestroy($image_thum);
I want to save it to this location:
/images/1000/
with its original filename but with a t_ attached to the begining.
I
I've got an odd problem . . . I've got a PHP site (PHP 4.2.2, Apache
1.3.26, Linux box) that uses sessions to track a user_id for each user.
I use the user_id to grant various rights.
This works like a dream 95% of the time. But every once in awhile, the
session information gets lost. It's so
Mr. Holmes
Im assuming that you can add all the other database operations and the
other dbtypes ... that was just the short version.
Daniel E Massón.
Ingeniero de desarrollo
[EMAIL PROTECTED]
Imagine S.A.
Su Aliado Efectivo en Internet
www.imagine.com.co
Pushpinder Singh Garcha wrote:
Hello All,
I have been runing PHP BB2 successfully on my site for a couple of
months . Recently I got this error.
phpBB : Critical Error
Could not connect to the database
Can someone tell what this means..??
Many Thanks
--Pushpinder Singh Garcha
Question regarding php's mail function.
I've created a targetted mail system for a client, that uses the mail() function to
send the the customer list. I find it's ok for a few hundred names, however the
client has a list of over 1 and I know that would be way to taxing on the server,
as
On Friday 07 Feb 2003 9:26 pm, you wrote:
Other than that you're
code looks good to me.
Arrrgh! Bl*0dy cacheing in my ftp programgr
Cheers for looking though!
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- Chad Day [EMAIL PROTECTED] wrote:
if (!isset($startlimit)) {
$startlimit = 0;
}
$endlimit = $startlimit + 10;
$yourquery = your query data LIMIT $startlimit,
$endlimit
that should give you enough insight on how to work it.
Nice example.
As an interesting tidbit, the LIMIT
I am using MSSQL. I need to speed up a page. I have 3 count queries and one data query
that gets loop through by the # of items * # of weeks that I need to return. Basically
460 as a general idea. I thought about using the prepare statement, something I have
notice in pear. But its not support
Question regarding php's mail function.
I've created a targetted mail system for a client, that uses the mail() function to
send the the customer list. I find it's ok for a few hundred names, however the
client has a list of over 1 and I know that would be way to taxing on the server,
as
This one time, at band camp,
1LT John W. Holmes [EMAIL PROTECTED] wrote:
$a1=1,8,98,244,9,243,2,6,36,3,111,;
$a2=8,98,244,9,243,2,1,6,36,3,111,;
How can I exactly match 1, in both strings using one regular expression?
(first 1 is the first element and second time in a random
Question regarding php's mail function.
I've created a targetted mail system for a client, that uses the mail() function to
send the the customer list. I find it's ok for a few hundred names, however the
client has a list of over 1 and I know that would be way to taxing on the server,
as
Question regarding php's mail function.
I've created a targetted mail system for a client, that uses the mail()
function to send the the customer list. I find it's ok for a few hundred
names, however the client has a list of over 1 and I know that would be
way to taxing on the server, as
I have used a few different Web hosting companies, and I
have never seen a case where my home directory was my
document root. I have always had a directory like
public_html/ or www/ that was my personal document root, so
as long as I don't place files in there, they are not
accessible via
i have a delete query:
mysql_query(delete from members where company='$delete');
it doesnt work should i change it to :
mysql_query(delete from members where company like '$delete');??
the first one worked in mysql client but it doesnt work in php script for
some reason...
also having problems
$a1=1,8,98,244,9,243,2,6,36,3,111,;
$a2=8,98,244,9,243,2,1,6,36,3,111,;
How can I exactly match 1, in both strings using one regular
expression?
(first 1 is the first element and second time in a random position)?
if(preg_match('/(^|,)1(,|$)/',$str))
{ echo one is found; }
1 - 100 of 149 matches
Mail list logo