Hi,
struggling with the following:
I have an URL
www.mycompany.com/index.php?id=10&a=1&b=2&c=3
What I want to do is using mod_rewrite have
www.mycompany.com/10/?a=1&b=2&c=3
Have tried the following rewrite rules in .htaccess
RewriteEngine on
RewriteCond%{REQUEST_FILENAME} !-d
RewriteCo
Justin Patrin wrote:
On Wed, 11 Aug 2004 18:20:23 -0400, Lukasz Karapuda <[EMAIL PROTECTED]> wrote:
Why I chose to reply to your email is because PHP is not usually used for
the development of more complex functionality like the Web site module that
we have developed.
I beg to differ. Many large an
On Thu, 12 Aug 2004 12:34:30 +1000, Tom Rogers <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Thursday, August 12, 2004, 10:03:32 AM, you wrote:
> AH> Hi All,
>
> AH> I have this expression;
> AH> $query = "INSERT INTO $table (%s) VALUES (%s)";
> AH> $query = sprintf($query, implode("
On Thursday 12 August 2004 12:56, JNJ wrote:
> Guys -- I'm getting a headache trying to install phpBB. I have IIS 6
> (Win2K3), PHP 5, MySQL 4. Every install has the same result -- "The PHP
> configuration on your server doesn't support the database type that you
> chose"
> Anyone have any sug
Guys -- I'm getting a headache trying to install phpBB. I have IIS 6
(Win2K3), PHP 5, MySQL 4. Every install has the same result -- "The PHP
configuration on your server doesn't support the database type that you
chose"
I've d/led the PHP 5 patched version -- same results.
I've enabled the
On Wednesday 11 August 2004 22:19, Kevin wrote:
> How can I encode my string using my own key? Is there any method to do
> this?
>
> i.e. using base64_encode() and convert_uuencode() functions?
What are you trying to do? Those functions are meant to convert 8-bit binary
files into a something sui
How can I encode my string using my own key? Is there any method to do this?
i.e. using base64_encode() and convert_uuencode() functions?
--
Kevin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I found my problem.
$eventdetail_query = mysql_query("select DISTINCT titles, informations,
file_name from eventdetail, event where eventdetail.event = ".$id);
-Original Message-
From: Karl-Heinz Schulz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 11, 2004 10:13 PM
To: 'Jason Davi
Hi,
Thursday, August 12, 2004, 10:03:32 AM, you wrote:
AH> Hi All,
AH> I have this expression;
AH> $query = "INSERT INTO $table (%s) VALUES (%s)";
AH> $query = sprintf($query, implode(",", $fld), implode(",",
AH> $val));
AH> $result = mssql_query($query) or die($er
whats the error, are there any matching fields for the columns
eventetail.event and event.id?
Jason
"Karl-Heinz Schulz" <[EMAIL PROTECTED]> wrote:
>
> Why does this query not work?
> It should only show the eventdetails for the shown event.
>
> --
Why does this query not work?
It should only show the eventdetails for the shown event.
-
".strip_tags(html_decode($eventdetail[0]))."");
print(" ".html_decode($eventdetail[1])."");
On Wed, 11 Aug 2004 18:25:34 -0700 (PDT), Hardik Doshi
<[EMAIL PROTECTED]> wrote:
> Hi Chris,
>
> Horde is little bit heavier than Squirrelmail. You can
> buy a Zend acclerator to speed up the things.
You can also get the free TurckMMCache to cache the parsed PHP files.
>
> I think your communi
Hi Chris,
Horde is little bit heavier than Squirrelmail. You can
buy a Zend acclerator to speed up the things.
I think your community is not that big and Horde works
fine in our organization where we have 1000 users and
all are pretty active.
Look and feel matters in the web mail so before you
On Wed, 11 Aug 2004 19:03:32 -0500, Alex Hogan
<[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I have this expression;
> $query = "INSERT INTO $table (%s) VALUES (%s)";
> $query = sprintf($query, implode(",", $fld), implode(",",
> $val));
> $result = mssql_quer
Hi All,
I have this expression;
$query = "INSERT INTO $table (%s) VALUES (%s)";
$query = sprintf($query, implode(",", $fld), implode(",",
$val));
$result = mssql_query($query) or die($errmsg);
I am trying to insert values from an array into the database
It works the way as supposed :)
Thanks!
> On Wed, 11 Aug 2004 18:07:57 -0400, Alex Shi <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > I guess regex can do the trick but I don't know much about regex :((
> > Here is what I want:
> > Say a text string in which there're several words enclosed by "{"
On Wed, 11 Aug 2004 18:20:23 -0400, Lukasz Karapuda <[EMAIL PROTECTED]> wrote:
> Michael,
>
> My company has recently developed a Web site module for a local
> manufacturing company. The Web site module is a PHP and MySQL application
> composed of several screens and advanced engineering functiona
Hello All,
Does anyone of any good documentation for compiling Netegrity's Siteminder
module with Apache for use in a PHP based application?
Thanks.
Saqib Ali
http://validate.sf.net <<< XHTML/DocBook XML Validator and Transformer
Michael,
My company has recently developed a Web site module for a local
manufacturing company. The Web site module is a PHP and MySQL application
composed of several screens and advanced engineering functionality
(graphing, calculations etc). One of the database tables for the application
has ove
On Wed, 11 Aug 2004 18:07:57 -0400, Alex Shi <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I guess regex can do the trick but I don't know much about regex :((
> Here is what I want:
> Say a text string in which there're several words enclosed by "{"
> and "}", for example {hellow}. I need to pick up e
Hi All,
I guess regex can do the trick but I don't know much about regex :((
Here is what I want:
Say a text string in which there're several words enclosed by "{"
and "}", for example {hellow}. I need to pick up each of the words
like this and print them or do some processing one by one.
Can any
Thank you
On Aug 11, 2004, at 1:25 PM, Jay Blanchard wrote:
[snip]
I wanted to know if there is way with PHP to take a bunch of data
points and create a plotted graph image (jpg, gif or png). The data
points would be inputed into a web form and then the data points would
be plotted on a graph o
Justin
Thank you now I have a working example to go from.
Justin Patrin wrote:
On Wed, 11 Aug 2004 16:35:33 -0500, Blake Schroeder <[EMAIL PROTECTED]> wrote:
I am trying to change some of my functions in to classes and objects. I
have been checking out the php.net and google and still not grasp
On Wed, 11 Aug 2004 16:35:33 -0500, Blake Schroeder <[EMAIL PROTECTED]> wrote:
> I am trying to change some of my functions in to classes and objects. I
> have been checking out the php.net and google and still not grasping the
> concept.
>
> here is my example all I am trying to do is print 2 nu
On 11 Aug 2004 21:30:38 -, Mark Collin <[EMAIL PROTECTED]> wrote:
> (Sorry if this is a repost, had some problems with my news client not
> sending properly)
>
> Thanks for the pointers Raditha, unfortunately I still can't get it
> working.
>
> I have been banging away at this for a few days
I am trying to change some of my functions in to classes and objects. I
have been checking out the php.net and google and still not grasping the
concept.
here is my example all I am trying to do is print 2 numbers to the
browser that are randomly generated from dieRolls.
Thanks in advance
-Bl
(Sorry if this is a repost, had some problems with my news client not
sending properly)
Thanks for the pointers Raditha, unfortunately I still can't get it
working.
I have been banging away at this for a few days now, and I currently
have the following my script:
ini_set(max_execution_time, 6
On Wed, 11 Aug 2004 17:13:49 -0400, Deepak Dhake
<[EMAIL PROTECTED]> wrote:
> i am trying to print some values from a table with using
> mysql_fetch_array in a loop but not able to get correct values.
> it works fine for the loop i=0, prints all desired values but when it
> bocomes i=1 and starts t
i am trying to print some values from a table with using
mysql_fetch_array in a loop but not able to get correct values.
it works fine for the loop i=0, prints all desired values but when it
bocomes i=1 and starts the loop again the result values gets reset and
prints the same old values.
for e
[snip]
I wanted to know if there is way with PHP to take a bunch of data
points and create a plotted graph image (jpg, gif or png). The data
points would be inputed into a web form and then the data points would
be plotted on a graph once the user submitted the information.
[/snip]
http://www.a
Hi,
I wanted to know if there is way with PHP to take a bunch of data
points and create a plotted graph image (jpg, gif or png). The data
points would be inputed into a web form and then the data points would
be plotted on a graph once the user submitted the information.
Any help would be appre
> in the event the user disbales j'script, i'm looking for an alternative...
You can't substitute PHP for javascript. Their functionalities are
completely different.
>
> in my case, it should be pretty easy, because i'm looking to reload the
> entire page into the "_top"/"parent" frame/window. ho
bruce wrote:
in the event the user disbales j'script, i'm looking for an alternative...
in my case, it should be pretty easy, because i'm looking to reload the
entire page into the "_top"/"parent" frame/window. however, when i send the
header, it gets interpreted as reloading in the same frame. whi
> -Original Message-
> > Wow, Michael. Nice response.
>
> Could we please trim our posts? Thank you.
Sorry. Thought I'd sent it to him only.
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> -Original Message-
> in the event the user disbales j'script, i'm looking for an alternative...
There is none. Assuming the client has disabled everything on their end
means you only have HTML to work with in presenting content. Are you
understanding this concept?
Btw, I forgot to men
Multiple queries are going to be in order as mentioend i beleive, also,
as mentioned, you may want to put some relational db design into
practice here, im not sure how big your table is going to be, but its
going to have a lot of same data in it.. how about
table products
id INT AUTO_INCREMENT NOT
Sort of...
Here is a sort of layout of my table data:
Id | prodname | qty | datein
1 toy1332004-08-11 13:41:26
2 toy2122004-08-11 14:41:26
3 toy1162004-08-11 15:41:26
4 toy3222004-08-11 16:41:26
This is what I mean by rows, maybe wrong term
On Thursday 12 August 2004 01:26, Ed Lazor wrote:
> Wow, Michael. Nice response.
Could we please trim our posts? Thank you.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
in the event the user disbales j'script, i'm looking for an alternative...
in my case, it should be pretty easy, because i'm looking to reload the
entire page into the "_top"/"parent" frame/window. however, when i send the
header, it gets interpreted as reloading in the same frame. which is not
wh
Dave Carrera wrote:
I am deving a goods in system that REQUIRES that each delivery of items be
entered into raw stock separately. This is why two rows in the table have
identical details like,
Supplier
Product name
But the qtys may be diff.
Ect ect
Now the PREPARATION dept need to internally order
I think John's right. Your schema sounds like it needs some serious work,
especially if you're storing identical details with every single
transaction. Go back and study relational database basics before trying to
create an inventory management system or you'll end up in a world of hurt.
-Ed
I don't think you can have a single mysql query do what you're wanting.
Break it into mutiple queries.
> -Original Message-
> Hi List,
>
> I have a qty posted via a form field, lets say 46.
>
> In my mysql table I have two rows which I want to reduce their qty fields.
>
> 1 row has a
> Have been trying to find a way to do this myself. One idea I had to do
> this from within PHP was to define the nav frame as a function which
> would be called based on the actions in the main window. The nav frame
> function would use the target elements to send their output to the
> correct f
Dave Carrera wrote:
I have a qty posted via a form field, lets say 46.
In my mysql table I have two rows which I want to reduce their qty fields.
1 row has a qty of say 13 and the second has a qty of 50, making 63 in
total.
So I would like to say something like if $_POST[qty] is greater than row 1'
I am deving a goods in system that REQUIRES that each delivery of items be
entered into raw stock separately. This is why two rows in the table have
identical details like,
Supplier
Product name
But the qtys may be diff.
Ect ect
Now the PREPARATION dept need to internally order the RAW STOCK to
Scot L. Harris wrote:
Have been trying to find a way to do this myself. One idea I had to do
this from within PHP was to define the nav frame as a function which
would be called based on the actions in the main window. The nav frame
function would use the target elements to send their output to
> On Wed, 2004-08-11 at 00:13, Matthew Sims wrote:
>> > hi...
>> >
>> > this probably doens't belong here.. but i'll try!
>> >
>> > i have a two frame window. when the user logs into the 'main' window,
>> i
>> > want
>> > to be able to 'update' the 'main' window and then hte 'nav' window.
>> some
>
Yup, confused me...
what is it for?
J
"Dave Carrera" <[EMAIL PROTECTED]> wrote:
>
> Hi List,
>
> I have a qty posted via a form field, lets say 46.
>
> In my mysql table I have two rows which I want to reduce their qty fields.
>
> 1 row has a qty of say 13 and the second has a qty of 50, maki
Hi List,
I have a qty posted via a form field, lets say 46.
In my mysql table I have two rows which I want to reduce their qty fields.
1 row has a qty of say 13 and the second has a qty of 50, making 63 in
total.
So I would like to say something like if $_POST[qty] is greater than row 1's
qty t
On Wed, 2004-08-11 at 10:38, Justin Patrin wrote:
> On Wed, 11 Aug 2004 10:15:00 -0700 (PDT), Matthew Sims
> <[EMAIL PROTECTED]> wrote:
> [snip]
> > >
> > > Yes. But both Squirrel and Horde must speak IMAP to the mail server,
> > > whether on localhost or remote. IMAP's nontrivial and introduces
> hi...
>
> can anyone point me to a way to do a page redirect using the php 'Header'
> function to another frame. I have a page in one frame, when the user does
> a
> submit, i want to have the app do a redirect using the 'Header' function,
> with the subsequent page being displayed in another fra
On Wed, 2004-08-11 at 00:13, Matthew Sims wrote:
> > hi...
> >
> > this probably doens't belong here.. but i'll try!
> >
> > i have a two frame window. when the user logs into the 'main' window, i
> > want
> > to be able to 'update' the 'main' window and then hte 'nav' window. some
> > underlying v
On Wed, 11 Aug 2004 10:15:00 -0700 (PDT), Matthew Sims
<[EMAIL PROTECTED]> wrote:
[snip]
> >
> > Yes. But both Squirrel and Horde must speak IMAP to the mail server,
> > whether on localhost or remote. IMAP's nontrivial and introduces more
> > load on the web app server than -- say -- a POP-based
> There was a little mistake in the code I posted before, try this one:
>
> http://aidan.dotgeek.org/lib/?file=function.convert_timestamp.php
>
>
> "Diff Fannehh" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> Hi,
>>
>> I have this date in timestamp format:
>>
>> $a= 2004081011415
On Wed, 11 Aug 2004 09:14:08 -0600, Jed R. Brubaker
<[EMAIL PROTECTED]> wrote:
> Hi all. As the subject suggests, I am using PHP4 and am having something
> going on that I don't think should be.
>
> Presume the following code
> class Foo {
> function Foo () {
> return "Bar";
You shoul
> -Original Message-
> SPAM wrote:
> > Currently i'm working on a php script
>
> You forgot the part where you ACTUALLY ASK A QUESTION...
Hehe I wonder if this is covered in the Newbie Guide
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/uns
Wow, Michael. Nice response.
-Ed
> -Original Message-
> From: Michael Sims [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 11, 2004 9:03 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP] PHP logic - Whats going on here?
>
> Kim Steinhaug wrote:
> [snip]
> > For some reason the above
On Wednesday 11 August 2004 23:01, Chris Shenton wrote:
> > IMAP doesn't HAVE to be on the same box. You can use SM to connect
> > to an another server running your mail.
>
> Yes. But both Squirrel and Horde must speak IMAP to the mail server,
> whether on localhost or remote. IMAP's nontrivial
This is probably getting a little offtopic (okay, a lot and my last for
today) but I'll answer what I can. Now I can't speak for Horde but I can't
see how Horde would be any different than what Squirrelmail provides.
> "Matthew Sims" <[EMAIL PROTECTED]> writes:
>
>> Uh, well...Squirrelmail is simp
On Wed, 11 Aug 2004 12:49:22 -0300 (ART), Juan Pablo Herrera
<[EMAIL PROTECTED]> wrote:
> > "Torsten Roehr" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> >> "Juan Pablo Herrera" <[EMAIL PROTECTED]> wrote in message
> >> news:[EMAIL PROTECTED]
> >> > Hi!
> >> > i need do two quer
SPAM wrote:
Currently i'm working on a php script
You forgot the part where you ACTUALLY ASK A QUESTION...
--
John Holmes
php|architect - The magazine for PHP professionals - http://www.phparch.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.ph
bruce wrote:
can anyone point me to a way to do a page redirect using the php 'Header'
function to another frame.
No. Use Javascript.
--
John Holmes
php|architect - The magazine for PHP professionals - http://www.phparch.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
The magic methods tend to screw up references in PHP4. I've turned it
off completely myself. My advise is to switch to PHP5 or not use the
overloading.
On Wed, 11 Aug 2004 15:06:51 +0200, Alessandro Vitale
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have encountered some troubles in trying to achi
On Wed, 11 Aug 2004 06:54:35 -0500, Jay Blanchard
<[EMAIL PROTECTED]> wrote:
> [snip]
> Sure, define them outside the function :)
> [/snip]
>
> I have not tried this (we usually place constants in a section of the
> code external to any function) but are you saying that if a constant is
> defined
On Wed, 11 Aug 2004 13:03:23 +0200, Angelo Zanetti <[EMAIL PROTECTED]> wrote:
> yes but even If I take the page source, its not anywhere near 597 lines
> long...any other ideas? Sorry forgot to mention it in initial post.
>
How long is the JavaScript file? Look at line 597 in that file. If
that a
On 11 Aug 2004 10:35:37 -, DIFF FanneHH <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have this date in timestamp format:
>
> $a= 20040810114155;
Convert it to a unix timestamp (that's a mysql timestamp), then add 7
days worth of seconds to it. Search the archives or the web for more.
If you're stu
bruce wrote:
hi...
can anyone point me to a way to do a page redirect using the php 'Header'
function to another frame. I have a page in one frame, when the user does a
submit, i want to have the app do a redirect using the 'Header' function,
with the subsequent page being displayed in another fram
Yup, i typo'd .. should have read, Im not sure you should be returning a
value..
Jason
Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote:
>
> * Jason Davidson <[EMAIL PROTECTED]>:
> > Im sure you should be returning a value in your constructor at all?? Ill
> > check the manual, but i dont
On Wed, 2004-08-11 at 11:14, Jed R. Brubaker wrote:
> Hi all. As the subject suggests, I am using PHP4 and am having something
> going on that I don't think should be.
>
> Presume the following code
> class Foo {
> function Foo () {
> return "Bar";
> }
> }
> $foo = new Foo;
> echo
Michael Sims wrote:
> string at various points to see what it contains. You may need to
> drill down into the actual source code for the Send() method to see
> what it things the body string is.
Errr... s/things/thinks/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: ht
Hi,
Currently i'm working on a php script which allow to archive the content of email
accounts. It fetch the accounts through the imap extension and store the messages in a
database. It is easy to subscribe an address to this list and collect email adresses.
I mean the attemp to hide emails, exa
Kim Steinhaug wrote:
[snip]
> For some reason the above results in a blank mail, no $body at all,
> rest is fine. However, if I include a dummy for if all goes well :
>
>if(!$mail->Send()) {
> echo $lang_error['mailer_error'] . "\n";
>} else {
> // Why do I need this one???
>
* Jason Davidson <[EMAIL PROTECTED]>:
> Im sure you should be returning a value in your constructor at all?? Ill
> check the manual, but i dont think ive ever seen a constructor return
> anything, doesnt sound right.. Let me check.
>From my experience, returning a value from a constructor currentl
hi...
can anyone point me to a way to do a page redirect using the php 'Header'
function to another frame. I have a page in one frame, when the user does a
submit, i want to have the app do a redirect using the 'Header' function,
with the subsequent page being displayed in another frame.
didn't f
[snip]
It's OK, but i need concatenate "load data" with "insert".
I have a file *.cvs that used three fields (a,b,c), my database have
four
fields(a,b,c,d). The "insert" have the data for last field.
[/snip]
This cannot be done.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
> "Torsten Roehr" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> "Juan Pablo Herrera" <[EMAIL PROTECTED]> wrote in message
>> news:[EMAIL PROTECTED]
>> > Hi!
>> > i need do two querys in one.
>> > First query is a load data and the second query is insert into. My
>> > idea is to c
On 08/11/2004 9:28 AM, Kim Steinhaug <[EMAIL PROTECTED]> wrote:
> Thanks for your reply, it all seems logical when you think of it,
> still I also think it sounds logical without the extra ELSE statement
> since the function has to executed for the first IF to do the comparison,
> meaning that the
Im sure you should be returning a value in your constructor at all?? Ill
check the manual, but i dont think ive ever seen a constructor return
anything, doesnt sound right.. Let me check.
Jason
"Jed R. Brubaker" <[EMAIL PROTECTED]> wrote:
>
> Hi all. As the subject suggests, I am using PHP4 and
[snip]
Hi all. As the subject suggests, I am using PHP4 and am having something
going on that I don't think should be.
Presume the following code
class Foo {
function Foo () {
return "Bar";
}
}
$foo = new Foo;
echo $foo;
$foo comes out as an object. Does this have to be done in tw
Hi all. As the subject suggests, I am using PHP4 and am having something
going on that I don't think should be.
Presume the following code
class Foo {
function Foo () {
return "Bar";
}
}
$foo = new Foo;
echo $foo;
$foo comes out as an object. Does this have to be done in two line
"Torsten Roehr" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Juan Pablo Herrera" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Hi!
> > i need do two querys in one.
> > First query is a load data and the second query is insert into.
> > My idea is to concatenate
[snip]
i need do two querys in one.
First query is a load data and the second query is insert into.
My idea is to concatenate with "and", but i'not know.
Is it possible?
[/snip]
a. It is possible. http://catb.org/~esr/faqs/smart-questions.html
2. This is a PHP list, not a SQL list.
III. HTH!
INSE
"Juan Pablo Herrera" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi!
> i need do two querys in one.
> First query is a load data and the second query is insert into.
> My idea is to concatenate with "and", but i'not know.
> Is it possible?
>
> Regards,
> Juan
Please specify a bit
"Matthew Sims" <[EMAIL PROTECTED]> writes:
> Uh, well...Squirrelmail is simply a webpage. The number of simultaneous
> users is defined by the web server application, aka Apache.
Perhaps we view it differently. Apache is a web server. SquirrelMail
and Horde are applications, written in PHP. I'm
Hi!
i need do two querys in one.
First query is a load data and the second query is insert into.
My idea is to concatenate with "and", but i'not know.
Is it possible?
Regards,
Juan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks for your reply, it all seems logical when you think of it,
still I also think it sounds logical without the extra ELSE statement
since the function has to executed for the first IF to do the comparison,
meaning that the email should be sendt in the first place. (If it didnt
how could it stat
[snip]
Then to send the mail we use this :
if(!$mail->Send()) {
echo $lang_error['mailer_error'] . "\n";
}
As you see above, Ive dropped the "what if all goes well" loop, since I
believe that the $mail->Send() is initiaded in the first statement
For some reason the above results i
Hi all,
I have encountered some troubles in trying to achieve the following:
- overload class properties by means of __set() and __get() magic functions
- store references to objects rather than copies of them in the overloaded
class properties
using the following code I can actually store and a
Ive stumbled onto a rather strange problem, atleast I cant see why this
is happening. Im using phpMailer to send mails, and I have the following
straight forward code :
$mail = new phpmailer();
$mail->IsSendmail();
$mail->From = '[EMAIL PROTECTED]';
$mail->FromName = 'From Name';
$mail->
Hi,
Following class may be usefull.
http://www.phpclasses.org/browse/package/699.html
One Advice :: Please check your script in another
browsers too. some Buggy Browser may cause the
problems.
zareef ahmed
--- Aaron Todd <[EMAIL PROTECTED]> wrote:
> I was going to post another follow-up que
[snip]
Sure, define them outside the function :)
[/snip]
I have not tried this (we usually place constants in a section of the
code external to any function) but are you saying that if a constant is
defined within the bounds of a function it is not global?
--
PHP General Mailing List (http://www
[snip]
I'm looking for some examples of sites that are purely MySQL and PHP
running
on Unix and that contain a few thousand records preferably held in
relational databases.
Rationale:
I need to justify PHP as a tool of choice over say vb.net or Oracle. My
recommendation, despite my limited knowle
There was a little mistake in the code I posted before, try this one:
http://aidan.dotgeek.org/lib/?file=function.convert_timestamp.php
"Diff Fannehh" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I have this date in timestamp format:
>
> $a= 20040810114155;
>
> I want to
On Wednesday 11 August 2004 19:11, Kevin wrote:
> I have heard about PHP Encoding technique. What exactly it does and how is
> it useful?
>
> Any more help will really be appreciated.
google > PHP Encoding
> Thanks a lot for giving your time.
Thank google.
--
Jason Wong -> Gremlins Associate
This might be slightly off the topic but I would recommend you use a
database abstraction layer which will do what you want to achieve
Check out
Pear DB
http://pear.php.net/manual/en/package.database.db.php
and adodb
http://adodb.sourceforge.net/
pete
Dan Joseph wrote:
Hi Everyone,
Please do not top post.
On Wednesday 11 August 2004 19:03, Angelo Zanetti wrote:
> yes but even If I take the page source, its not anywhere near 597 lines
> long...any other ideas? Sorry forgot to mention it in initial post.
Depending on your browser and how you view the source the line reported
Angelo Zanetti wrote:
yes but even If I take the page source, its not anywhere near 597 lines
long...any other ideas? Sorry forgot to mention it in initial post.
Do you have a URL? It's a Javascript error, either way.
--
John Holmes
php|architect - The magazine for PHP professionals - http://www.ph
Greetings,
I have heard about PHP Encoding technique. What exactly it does and how is
it useful?
Any more help will really be appreciated.
Thanks a lot for giving your time.
--
Kevin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
yes but even If I take the page source, its not anywhere near 597 lines
long...any other ideas? Sorry forgot to mention it in initial post.
>>> John Holmes <[EMAIL PROTECTED]> 8/11/2004 12:44:25 PM >>>
Angelo Zanetti wrote:
> I have been working on a pretty big project over the last couple of
>
That's a mysql timestamp, if you want to manipulate dates in PHP you'll need
to use unix timestamps.
You have a couple of options,
select unix_timestamp(myFld) as myFld from myTbl
Then just add 60*60*24*7 to it.
Or, parse it with:
function convert_timestamp ($timestamp)
{
$timestring = substr
1 - 100 of 105 matches
Mail list logo