Hello everyone,
I have a problem connecting to the Database. When I execute the code at the
bottom, it gives me this message: "DB Error: extension not found". It sees
the DB file and the parameters are correct. I checked the include path and
it was correct. Did I do something wrong? Any help would
Mag wrote:
Hi,
I will be getting input from a textarea and then I am
using "explode" to break the text into an array when
it encounters a space.
eg:
one two three four ninty
would be broken into 5 parts of an array.
** The array would then be put into a session **
now I need to display the last pa
Andrew Kreps wrote:
>> I have a MySQL db with a datetime field containing the
>> date and time of the sale. I want to query for a simple
>> report that shows total sales by month.
>
This one worked for me, on MySQL 3.23.xx. I hope it's closer to what you need.
select sum(ordersubtotal), date_forma
John Taylor-Johnston wrote:
Can someone help me, show me how to do this please?
1. How do I write $mydata->AUS and $mydata->id into an array?
$authors = array();
while ($mydata = mysql_fetch_object($news))
{
# echo "$mydata->AUS, $mydata->id\n";
??? write to array
}
mysql_close($myconnection);
What
Can someone help me, show me how to do this please?
1. How do I write $mydata->AUS and $mydata->id into an array?
$authors = array();
while ($mydata = mysql_fetch_object($news))
{
# echo "$mydata->AUS, $mydata->id\n";
??? write to array
}
mysql_close($myconnection);
2. Then I need to create $SQL
Thanks everyone for the recommendations =)
> -Original Message-
> On Fri, 10 Sep 2004 15:09:57 -0700, Ed Lazor <[EMAIL PROTECTED]> wrote:
> >Any recommendations on the best PHP5 OOP book to get? I have Advanced
> PHP
> >Programming by George Schlossnagle. It's turning out to be a great b
You can't,
It's a security thing.
"Marten Lehmann" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
>
> I need to load extensions with dl() within PHP running as CGI. But as this
> is a shared hosting environment, I don't have access to the extension_dir.
> Anyway, dl() pr
===
Please feel free to add more points and send
to the list.
===
1. If you have any queries/problems about PHP
try http://www.php.net/manual/en first. You
can download a copy and use it offline also.
Please also try
ht
On Fri, 10 Sep 2004 15:09:57 -0700, Ed Lazor <[EMAIL PROTECTED]> wrote:
Any recommendations on the best PHP5 OOP book to get? I have Advanced PHP
Programming by George Schlossnagle. It's turning out to be a great book,
but I'd like to read more on PHP5 OOP. The first chapter recommends two
books
Greg Donald wrote:
On Fri, 10 Sep 2004 15:09:57 -0700, Ed Lazor <[EMAIL PROTECTED]> wrote:
Any recommendations on the best PHP5 OOP book to get? I have Advanced PHP
Programming by George Schlossnagle. It's turning out to be a great book,
but I'd like to read more on PHP5 OOP. The first chapter r
Amazing - that did it, first try! THANKS. I knew it had to be simple.
SQL rocks.
- Brian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Does anyone know if there is a mailing list for gdlib? Can't seem to find
in Google.
This one worked for me, on MySQL 3.23.xx. I hope it's closer to what you need.
select sum(ordersubtotal), date_format(orderdate, '%Y-%m') as odate
from orders group by odate
On Fri, 10 Sep 2004 15:01:34 -0700, Brian Dunning
<[EMAIL PROTECTED]> wrote:
> I have a MySQL db with a datetime field con
I have no experience with PHP5 so far but this subject was asked
before often enough with PHP4 - so the advice should still be valid...
I generally didn't put any files in the %SYSTEMROOT% folder (which
usually translates to C:\WINDOWS on a default installed WinXP machine)
but instead I put the ph
On Fri, 10 Sep 2004 15:09:57 -0700, Ed Lazor <[EMAIL PROTECTED]> wrote:
> Any recommendations on the best PHP5 OOP book to get? I have Advanced PHP
> Programming by George Schlossnagle. It's turning out to be a great book,
> but I'd like to read more on PHP5 OOP. The first chapter recommends two
Hi,
I will be getting input from a textarea and then I am
using "explode" to break the text into an array when
it encounters a space.
eg:
one two three four ninty
would be broken into 5 parts of an array.
** The array would then be put into a session **
now I need to display the last part (which
Thanks Pablo - but it's more complicated than that. I'm trying to
return totals for all calendar months, not all records within the past
month. I'll word my question better and post it to one of your
suggested lists. :)
On Sep 10, 2004, at 4:27 PM, Pablo Gosse wrote:
Brian Dunning wrote:
I hav
On Fri, 10 Sep 2004 11:58:58 +0100, in php.general
[EMAIL PROTECTED] (Abdul-Wahid Paterson) wrote:
>> I was wondering if any classes/functions could help me with this little
>> challenge, (im hopeless at regex ;-)
>>
>>
>
>No easy way of doing it, regex somthing like:
>
>$id = preg_replace("/.*/
Hi,
I've encountered a situation where I need to have two or more SEPARATE sessions
running in separate windows. The reasons are complicated, so I'll keep things simple
by just explaining the problem!
Unfortunately my understanding of sessions is a little sketchy at best so please stick
with m
Hi John,
I would recommend making $_SESSION['prevtime'] an array
$roomname = 'sampleroom';
if (!isset($_SESSION['prevtime'])) {
$_SESSION['prevtime'] = array();
}
$_SESSION['prevtime'][$roomname] = time();
Then, you can
if (isset($_SESSION['prevtime'][$roomname])) {
// update the session su
Any recommendations on the best PHP5 OOP book to get? I have Advanced PHP
Programming by George Schlossnagle. It's turning out to be a great book,
but I'd like to read more on PHP5 OOP. The first chapter recommends two
books, but both deal with OOP from the perspective of C++, C#, and Perl.
I have a MySQL db with a datetime field containing the date and time of
the sale. I want to query for a simple report that shows total sales by
month.
I thought this would be quick & easy but it's NOT! I can't figure out
how to query for it.
If this question would be better posed to a SQL list
Hi,
I've encountered a problem I can't seem to find much reference to on the web, so I
was wondering if anyone here could help me...
Fisrt a brief background:
I am building a fairly simple PHP/MySQL chat system with multiple rooms. Each room is
loaded from the main chat page by clicking o
"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> --- Aaron Gould <[EMAIL PROTECTED]> wrote:
> > Just curious if anyone on the list was headed to Toronto on Sep 22-24
> > for php|works. I live about two hours from Toronto, and my company
> > is sending me.
> >
> > I wo
On Fri, 10 Sep 2004 13:33:37 -0700 (PDT), Dan McCullough
<[EMAIL PROTECTED]> wrote:
> So I have orders and customers. I need to go through and list out the orders and
> then I need to
> use the customer to grab all the order associated with them, then list out their
> contact
> information. Any
* Thus wrote Chidanand:
>
> I have a requirement where in i have to access shared
> memory allocated by some C process. Can i do this in
> PHP?
>
> I am trying out some thing like this.
> I want to access the existing shared memory.
>
> $shm_id = ftok("/tmp/", 'm');
> echo "$shm_id". "";
> $shm
Yes, it does! That's why I find it so useful. :)
http://www.php.he.net/manual/en/function.mktime.php
Quoted:
mktime() is useful for doing date arithmetic and validation, as it will
automatically calculate the correct value for out-of-range inp
"Dan McCullough" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I believe that would be the correct term for what I need.
>
> Here is what I have been trying to do.
>
> I have orders and customers. Customers are required to do a few things
before we can process the
> order. Some ti
Because $now+(7*24*60*60) isn't very intuitive to a human.
Why would you do it that way instead of:
$days = 24*60*60;
$now = time();
$plus7 = $now+(7*$days);
echo 'Current Date: '.date('Y-m-d', $now);
echo 'Date in 7 days: '.date('Y-m-d', $plus7);
Maybe you think like a machine, but the way I
--- Aaron Gould <[EMAIL PROTECTED]> wrote:
> Just curious if anyone on the list was headed to Toronto on Sep 22-24
> for php|works. I live about two hours from Toronto, and my company
> is sending me.
>
> I wonder what kind of reception this conference will get...
I'm giving a talk on PHP sessi
Actually, I stand corrected on this one, it will be off by an hour on
daylight savings change date (either one).
Warren Vail
-Original Message-
From: M. Sokolewicz [mailto:[EMAIL PROTECTED]
Sent: Friday, September 10, 2004 1:08 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Adding +7 more
--- CBharadwaj <[EMAIL PROTECTED]> wrote:
> In conection.php I have written.
> SESSION_ START();
>
> on successful login I am registering a session variable.
> SESSION_REGISTER("userId");
Do this instead:
session_start();
$_SESSION['userid'] = 'myuser';
> Header("Location: home.ph
So if this is run on the 30th of the month, you are saying this handles a
month with day 37 correctly?
Warren Vail
-Original Message-
From: Gryffyn, Trevor [mailto:[EMAIL PROTECTED]
Sent: Friday, September 10, 2004 11:58 AM
To: [EMAIL PROTECTED]
Cc: Louie Miranda
Subject: RE: [PHP] Addi
I believe this one will be off by an hour on leap day.
Warren Vail
-Original Message-
From: M. Sokolewicz [mailto:[EMAIL PROTECTED]
Sent: Friday, September 10, 2004 1:08 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Adding +7 more days on date() value problem
Why would you do such stran
"Brent Baisley" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> What is the best way to access one class from another? What I have is a
> couple of "core" classes that are loaded into instances at the start of
> each page. I then load instances of page specific classes. How would I
>
* Brent Baisley <[EMAIL PROTECTED]>:
> What is the best way to access one class from another? What I have is a
> couple of "core" classes that are loaded into instances at the start of
> each page. I then load instances of page specific classes. How would I
> access the already loaded instances
I believe that would be the correct term for what I need.
Here is what I have been trying to do.
I have orders and customers. Customers are required to do a few things before we can
process the
order. Some times they are very slow in doing so. So I wanted to write a little
reminder script
to
M. Sokolewicz wrote:
To summarize:
var $input2;
var $input;
function Liste() { /* or, if you're using php5: public function
__construct() { */
$this->input = array(1,2,3);
$this->input2 = array_pad($this->input,10,1);
}
}
The reason being, for this, that inside a class
What is the best way to access one class from another? What I have is a
couple of "core" classes that are loaded into instances at the start of
each page. I then load instances of page specific classes. How would I
access the already loaded instances of the core classes from inside one
of the p
I told:
"I search php.net website"
This page don´t have the docs for constructor, methods and properties. It
doesn´t have docs for OO programing with SQLite. Only procedural programing.
I´m looking for the OO docs...
"Greg Donald" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
On Fri, 10 Sep 2004 16:20:21 -0300, Ricardo Cezar <[EMAIL PROTECTED]> wrote:
> Where can I find the docs for Constructor, Properties and Methods for the
> SQLite extension? I search PHP.NET website but I can´t found it. I found
> this information for mysqli only...
http://www.php.net/sqlite
--
On Fri, 10 Sep 2004 14:57:29 -0500, Greg Donald wrote:
> On Fri, 10 Sep 2004 14:00:47 -0500, Robb Kerr
> <[EMAIL PROTECTED]> wrote:
>> This is not a sales post.
>
> It sure sounds like one, not that I care or anything.
>
> Curious.. did they have a non-windows version? Something for the vim
> c
Why would you do such strange things? It's a lot more simple :P
$now = time();
$plus7 = $now+(7*24*60*60); // 7 days, containing 24 hours each,
containing 60 minutes each, containing 60 seconds each.
echo 'Current Date: '.date('Y-m-d', $now);
echo 'Date in 7 days: '.date('Y-m-d', $plus7);
now isn
http://ro.php.net/manual/en/zend.php
This might be a good start.
Cheers,
Catalin
"Benjamin Bostow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>I have heard of php modules and to the sound of it it allows me to create
>php functions that I don't have to have include files to ha
Wouter Van Vliet wrote:
On Fri, 10 Sep 2004 14:26:22 -0400, John Holmes
<[EMAIL PROTECTED]> wrote:
From: "dirk" <[EMAIL PROTECTED]>
can anyone explain to me, why I can't resize an array inside a class?
Sample Code:
Output:
Parse error: parse error, unexpected '(', expecting ',' or ';' in
/srv/www/
On Fri, 10 Sep 2004 14:00:47 -0500, Robb Kerr
<[EMAIL PROTECTED]> wrote:
> This is not a sales post.
It sure sounds like one, not that I care or anything.
Curious.. did they have a non-windows version? Something for the vim
crowd perhaps? What about for Postgres? I'm using MySQL less and
less
On Fri, 10 Sep 2004 11:57:03 -0700, Benjamin Bostow
<[EMAIL PROTECTED]> wrote:
> I have heard of php modules and to the sound of it it allows me to
> create php functions that I don't have to have include files to have
> access to those functions. I have been searching for any information on
> this
Where can I find the docs for Constructor, Properties and Methods for the
SQLite extension? I search PHP.NET website but I can´t found it. I found
this information for mysqli only...
Thanks,
Rics
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.ph
This is not a sales post. I also posted this on the MySQL board. I have
been struggling with JOINed SELECT statements in MySQL for a while now. The
syntax just seems to elude me. However, I just found a Win Dreamweaver
extension that rocks. The Advanced Query Wizard allows me to very quickly
an
I disagree on the strtotime recommendations that everyone else gave.
The mktime() function itself will compensate for leap years, "day = 36"
type stuff and all of that.
";
Echo "+7 Dats Date: $plus7";
?>
Simple as that!
-TG
> -Original Message-
> From: Louie Miranda [mailto:[EMAIL PROT
I have heard of php modules and to the sound of it it allows me to
create php functions that I don't have to have include files to have
access to those functions. I have been searching for any information on
this and have not had any success. I am basically trying to write an
API that others ca
One simple way to do it would be:
List($username,$domain) = explode("@",$emailaddress);
$newemailaddress = "[EMAIL PROTECTED]";
Maybe I just use list/explode too much. :)
-TG
> -Original Message-
> From: Jason Wong [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 22, 2004 6:09 AM
> To
Check into the Javascript events "onfocus" and "onblur" (forgive my syntax). Focus
is when a window becomes 'active' and Blur is when it becomes 'non active'.
-TG
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 15, 2004 10:07 PM
> To: PHP
You probably need this to set the Content-length: header, don't you?
I'd go into:
ob_start()
imagegif($imageResource);
// or whatever type of image you're writing
$blob = ob_get_clean();
unset($imageResource); // free the memory once you're not using the image
// size in bytes = strlen()+1, due
On Fri, 10 Sep 2004 14:26:22 -0400, John Holmes
<[EMAIL PROTECTED]> wrote:
> From: "dirk" <[EMAIL PROTECTED]>
> > can anyone explain to me, why I can't resize an array inside a class?
> > Sample Code:
> >
> > > class Liste {
> > var $input = array (1,2,3);
> > var $input2 = array_pad ($input,1
Works fine within the constructor, thanks.
Dirk
On Fri, 10 Sep 2004 14:38:45 -0400, John Holmes
<[EMAIL PROTECTED]> wrote:
> From: "dirk" <[EMAIL PROTECTED]>
> >> Try this:
> >> var $input = array(1,2,3);
> >> var $input2 = array();
> >> $this->input2 = array_pad($this->input,10,1);
> >
> > Well,
From: "dirk" <[EMAIL PROTECTED]>
Try this:
var $input = array(1,2,3);
var $input2 = array();
$this->input2 = array_pad($this->input,10,1);
Well, doesn't work either:
Parse error: parse error, unexpected T_VARIABLE, expecting T_FUNCTION
in /srv/www/htdocs/stundenplan/stpoo.php on line 5
The array_pa
Well, doesn't work either:
Parse error: parse error, unexpected T_VARIABLE, expecting T_FUNCTION
in /srv/www/htdocs/stundenplan/stpoo.php on line 5
I forgot to mention that I'm using php-5.0.1 before
Dirk
On Fri, 10 Sep 2004 14:26:22 -0400, John Holmes
<[EMAIL PROTECTED]> wrote:
> From: "dirk"
For reference:
http://www.blueshoes.org/en/developer/php_cheat_sheet/
> -Original Message-
> From: Al [mailto:[EMAIL PROTECTED]
> Sent: Sunday, June 06, 2004 7:47 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] A follow up on my question about good coding
> practice [isset]
>
>
> I could
From: "dirk" <[EMAIL PROTECTED]>
can anyone explain to me, why I can't resize an array inside a class?
Sample Code:
Output:
Parse error: parse error, unexpected '(', expecting ',' or ';' in
/srv/www/htdocs/stundenplan/stpoo.php on line 4
You can't assign values like that.
Try this:
var $input = a
From the manual:
In PHP 4, only constant initializers for var variables are allowed. To
initialize variables with non-constant values, you need an
initialization function which is called automatically when an object
is being constructed from the class. Such a function is called a
constructor (s
On Fri, 10 Sep 2004 20:09:55 +0200, dirk <[EMAIL PROTECTED]> wrote:
> can anyone explain to me, why I can't resize an array inside a class?
> Sample Code:
>
> class Liste {
>var $input = array (1,2,3);
>var $input2 = array_pad ($input,10, 1);
> }
> ?>
>
> Output:
> Parse error: parse err
Try something along these lines:
...
Date:
Time:
Cost:
Colour:
...
...
mysql_query("SELECT " . implode(',', $_REQUEST['columns']) . " FROM
tablename");
...
?>
This should product a query like
SELECT date,time,colour FROM tablename;
And it's a lot neater than writing a huge chunk of code to g
Hello everybody,
can anyone explain to me, why I can't resize an array inside a class?
Sample Code:
Output:
Parse error: parse error, unexpected '(', expecting ',' or ';' in
/srv/www/htdocs/stundenplan/stpoo.php on line 4
Thanks,
Dirk
--
PHP General Mailing List (http://www.php.net/)
To uns
You got it right, except you're going to have it blow up on you if
someone doesn't select something
Try these changes:
$a1 = $_POST['ch1'];
$a2 = $_POST['ch2'];
$a3 = $_POST['ch3'];
# Add this bit
If (isset($_POST['ch1')) {
$collist .= ",$a1";
}
If (isset($_POST['ch2')) {
if ($collist == "")
On Friday 10 September 2004 19:23, Benkovich Mishail wrote:
> I have some paths, for example:
> \\192.168.0.254\C\Windows\SomeDir\ or
> ftp://myhost.com/folder/ (login and password I also know)
> How I can check writable this dirs or no? - I can try to write temporary
> file or use touch() funkt
Hi all,
I've run into a bit of a doozy that I can't seem to figure out.
I'm using the PEAR Date class to deal with some time/date requirements
for some code, and everything has been working (to the best of my
knowledge) really well, up until now.
I decided to extend my code test suite (using Sim
> -Original Message-
> On Friday 10 September 2004 06:59, Ed Lazor wrote:
> > Is there a way to get the size of an image created using the imagecreate
> > function?
>
> Size as in ... ?
I was looking for the size of the image in bytes.
-Ed
--
PHP General Mailing List (http://www.php.ne
[snip]
Hi List,
Anyone have any pointers to examples of Code 39 barcode generation using
php please.
Thanks for any help
Dave Carrera
[/snip]
STFW
http://www.aditus.nu/jpgraph/jpg_barcodes.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.ph
Hi,
Google Search: Code 39 Barcode Generation PHP
Found this here:
http://www.hotscripts.com/Detailed/9608.html
Justin
-Original Message-
From: Dave Carrera [mailto:[EMAIL PROTECTED]
Sent: Friday, September 10, 2004 9:48 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Barcodes ?
Hi List,
A
Hi List,
Anyone have any pointers to examples of Code 39 barcode generation using php
please.
Thanks for any help
Dave Carrera
--
UK Web Hosting @ http://www.ephgroup.com
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.754
I have a requirement where in i have to access shared
memory allocated by some C process. Can i do this in
PHP?
I am trying out some thing like this.
I want to access the existing shared memory.
$shm_id = ftok("/tmp/", 'm');
echo "$shm_id". "";
$shmid = shmop_open($shm_id, "c", 0644, 164);
$shm
John Holmes wrote:
From: "John Nichel" <[EMAIL PROTECTED]>
My company was going to send me, but backed out (money). I'm in
Buffalo, so it's right up the road...I may still go and just pay for
it out of my own pocket.
Put an alias on your name tag otherwise people will be hunting you down! ;)
Ha
Maxime Thonon wrote:
hello,
i work with imap and php to make a webmail. it works fine but i have a
big problem with some mails, those who contains a multipart into a
multipart. it happends with outlook express who puts into a mutlipart
the text and html version of the text into the first part of th
On Fri, 10 Sep 2004 10:16:28 -0400, John Holmes
<[EMAIL PROTECTED]> wrote:
> From: "Wouter van Vliet" <[EMAIL PROTECTED]>
> > Ok, first of all: really, do use linux. It's not THAT bad for a home
> > machine ;)
> >
> > Now, the solution is quite simple as it is documented. Just copy the
> > file 'li
Hi,
I 2 use winxp pro at home, actually linux + windowoze and i have
encountered the same problem with mysql extension.
Some extensions, such as iconv, openssl depend on external libraries.
btw! it's not a good idea to mess with windows\system32 folder. If you
want
you can ad
John Holmes wrote:
From: "John Nichel" <[EMAIL PROTECTED]>
My company was going to send me, but backed out (money). I'm in
Buffalo, so it's right up the road...I may still go and just pay for
it out of my own pocket.
Put an alias on your name tag otherwise people will be hunting you down! ;)
Ye
From: "John Nichel" <[EMAIL PROTECTED]>
My company was going to send me, but backed out (money). I'm in Buffalo,
so it's right up the road...I may still go and just pay for it out of my
own pocket.
Put an alias on your name tag otherwise people will be hunting you down! ;)
Have fun guys... wish
Hello,
I need to load extensions with dl() within PHP running as CGI. But as
this is a shared hosting environment, I don't have access to the
extension_dir. Anyway, dl() prepends /lib/php/extensions/
--ZEND_MODULE_API_NO if I'm calling
dl("myext.so"); even if I'm starting with a slash. How can
From: "Wouter van Vliet" <[EMAIL PROTECTED]>
I think I must add something here - besides the fact that a function
like vertual() doesn't exist - I believe Ivik asked how he could get
around this, still doing something like the virtual but keep buffering
the output.
I don't think you can... virtual(
From: "Wouter van Vliet" <[EMAIL PROTECTED]>
Ok, first of all: really, do use linux. It's not THAT bad for a home
machine ;)
Now, the solution is quite simple as it is documented. Just copy the
file 'libmysql.dll' to your %WINDIR% folder and all should work. If it
doesn't, take libmysqli.dll as w
On Fri, 10 Sep 2004 09:24:06 -0400, John Holmes
<[EMAIL PROTECTED]> wrote:
> From: "Ivik Injerd" <[EMAIL PROTECTED]>
>
> > --- test.php:
> > ob_start();
> > virtual("blah.pl");
> > $tmp = ob_get_contents();
> > echo "\n[ TMP: $tmp ]";
> > ob_end_clean();
> >
> > --- test.php (output):
> > blah
> >
On Fri, 10 Sep 2004 16:41:56 +0300, Robin Vickery <[EMAIL PROTECTED]> wrote:
> On Fri, 10 Sep 2004 11:43:54 +0200, Wouter van Vliet
> <[EMAIL PROTECTED]> wrote:
> >
> > For my own reasons (can explain, would take long, won't till sbody
> > asks) I want to match a quoted string within a string. That
Aaron Gould wrote:
Just curious if anyone on the list was headed to Toronto on Sep 22-24
for php|works. I live about two hours from Toronto, and my company is
sending me.
I wonder what kind of reception this conference will get...
My company was going to send me, but backed out (money). I'm in
Ok, first of all: really, do use linux. It's not THAT bad for a home machine ;)
Now, the solution is quite simple as it is documented. Just copy the
file 'libmysql.dll' to your %WINDIR% folder and all should work. If it
doesn't, take libmysqli.dll as well. While you're at it, you might as
well cop
Ok, thanks!
John Holmes wrote:
From: "Ivik Injerd" <[EMAIL PROTECTED]>
--- test.php:
ob_start();
virtual("blah.pl");
$tmp = ob_get_contents();
echo "\n[ TMP: $tmp ]";
ob_end_clean();
--- test.php (output):
blah
[ TMP: ]
Looks like vertual() gets past the output buffer. How can I keep it in
the bu
On Fri, 10 Sep 2004 11:43:54 +0200, Wouter van Vliet
<[EMAIL PROTECTED]> wrote:
>
> For my own reasons (can explain, would take long, won't till sbody
> asks) I want to match a quoted string within a string. That is somehow
> kind of easy, I know ... if it weren't for the slashing of quotes.
The
Just curious if anyone on the list was headed to Toronto on Sep 22-24
for php|works. I live about two hours from Toronto, and my company is
sending me.
I wonder what kind of reception this conference will get...
--
Aaron Gould
Parts Canada - Web Developer
--
PHP General Mailing List (http://www
CBharadwaj wrote:
Hi
I have used
Header (Location:PATH) function for redirection.
it is giving some errors.
is there any other method other than HEADER() funtion for redirecting ?
Bharadwaj
What are the errors? Output already started?
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAI
(Don't write to me telling me to use linux, i dont want to, this is my home
machine not a production server, thank you, now if you really want to help
keep on reading)
I got a most recent copy of PHP 5.01 extracted into "C:\php" and everything
seems to be working fine as long as i dont ask to load
From: "Ivik Injerd" <[EMAIL PROTECTED]>
--- test.php:
ob_start();
virtual("blah.pl");
$tmp = ob_get_contents();
echo "\n[ TMP: $tmp ]";
ob_end_clean();
--- test.php (output):
blah
[ TMP: ]
Looks like vertual() gets past the output buffer. How can I keep it in the
buffer?
I believe a RTFM is in or
From: "vijayaraj nagarajan" <[EMAIL PROTECTED]>
i would like to fetch the content of a url.
and then would like to put in my page... dynamically
refreshing it once in a day...
is it possible to do this in php.
i have used perl get url option and then parse the
file, with the date and time function.
Hi Benkovich,
Le 04-09-10, à 07:23, Benkovich Mishail a écrit :
I have some paths, for example:
\\192.168.0.254\C\Windows\SomeDir\ or
ftp://myhost.com/folder/ (login and password I also know)
How I can check writable this dirs or no? - I can try to write
temporary
file or use touch() funktion.
I have some paths, for example:
\\192.168.0.254\C\Windows\SomeDir\ or
ftp://myhost.com/folder/ (login and password I also know)
How I can check writable this dirs or no? - I can try to write temporary
file or use touch() funktion. But how I can get free space of this remote
catalogue?
__
--- blah.pl:
#!/usr/bin/perl
print "Content-type: text/plain\r\n\r\n";
print "blah";
exit;
--- test.php:
ob_start();
virtual("blah.pl");
$tmp = ob_get_contents();
echo "\n[ TMP: $tmp ]";
ob_end_clean();
--- test.php (output):
blah
[ TMP: ]
Looks like vertual() gets past the output buffer. How can
Lester Caine wrote:
Anybody got php_printer running?
If I give printer_open an invalid printer name, error. Give it a valid
(shared) printer name, not error, but using the $handle in
printer_set_option gives an 'invalid printer handle error'
What do I need to do next to check this out?
OK lookin
* and then Abdul-Wahid Paterson declared
> No easy way of doing it, regex somthing like:
>
> $id = preg_replace("/.*/", $1, $string);
>
> where $string is a line from your input'd HTML page
OK, thanks abdul, much appreciated..
--
Nick W
--
PHP General Mailing List (http://www.php.net/)
No easy way of doing it, regex somthing like:
$id = preg_replace("/.*/", $1, $string);
where $string is a line from your input'd HTML page
Abdul-Wahid
On Fri, 10 Sep 2004 12:54:37 +0200, Nick Wilson <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I was wondering if any classes/functions could help
>"Cbharadwaj" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>Hi
>
>I have used
>Header (Location:PATH) function for redirection.
>it is giving some errors.
>is there any other method other than HEADER() funtion for redirecting ?
>
>
>Bharadwaj
It will work if you specify a *full* U
Hi all,
I was wondering if any classes/functions could help me with this little
challenge, (im hopeless at regex ;-)
I want to extract the value of 'id' from a webpage. Any simple way to do
this or am I down to sweating of the regex functions?
Much thanks
--
Nick W
--
PHP General Maili
1 - 100 of 112 matches
Mail list logo