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 s
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
**
0)
{
// iterate através do conj resultados
// print titulo dos artigos
while($row = mysql_fetch_object($result))
{
?>
http://www.ivao-pt.org
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 qu
> - 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
> > >
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 also
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
accor
> 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 wh
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 a
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 Bon
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' '--wi
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,
>
> W
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: php.gener
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 by:
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 mayb
>
> 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:
>
> Warni
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));
> >
[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:
> method=POST>
>
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[]
> s
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 no
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 s
Warning: Access denied for user: 'root@localhost' (Using password: YES) in
/home/sascha/www/docs/freecon/includes/global.inc.php on line 8
Warning: MySQL Connection Failed: Access denied for user: 'root@localhost'
(Using password: YES) in
/home/sascha/www/docs/freecon/includes/global.inc.php on li
Hardik Doshi said:
> 1. How one can seperate HTML and PHP (or any other
> programming code). Is there anything in PHP so i can
> seperate Interface layer and programming logic layer?
http://smarty.php.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.
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
-
> 1. How one can seperate HTML and PHP (or any other
> programming code). Is there anything in PHP so i can
> seperate Interface layer and programming logic layer?
You can do it by using some template engine or with xslt.
I would suggest that you try TemplateTamer (link is in the sig), since it
by using OCIError() function.
php.net/ocierror
--
Maxim Maletsky
[EMAIL PROTECTED]
fdo cruz <[EMAIL PROTECTED]> wrote... :
>
> 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
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 (
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 fi
> > 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 hel
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 unsubs
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 kn
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
4532
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
http://nl.php.net/manua
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
pu
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. m
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);
foreach($sortedar
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: Inva
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 An
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 pretty
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: http://www.p
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
//start combo box
select a member to edit
//code to populate combobox from db
\"$edit[Company]";
}
?>
//rest of code for page here...
not that hard probably about 4 lines of code to make the box and put db
stuff in it...
still need to figure out why my updat
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: RE
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:
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 sl
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
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 stri
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
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 (h
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 con
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 (ht
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.
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 win
--- 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', 'ph
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 y
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 Archit
> 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
> > 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-
This is with PHP 4.2 and register_globals off.
I am setting cookies and starting a session in the following fashion:
setcookie("EMAILADDR", $row[EMAIL], time()+2592000, '/', ".$dn");
where $dn = mydomain.com
I want the cookies accessible sitewide .. at www.mydomain.com, mydomain.com,
forums.myd
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 1:
> 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...
for($x=0;$x<$_P
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, but
> $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"; }
-
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 i
>> //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
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 ap
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: <[EM
--- 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 tra
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, Febr
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 actuall
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 r
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 s
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 tidbi
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 i
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 s
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 tim
1 - 100 of 154 matches
Mail list logo