Hello! I'm running PHP 4.2.3 on a Linux web-hosting server. Right now I
am trying to work with a PHP script (MLM Multi List Manager, in case it
matters) to handle mailing lists. It works terrific on one server, but on
another one it has a very strange problem that I was hoping someone would
kno
Never mind, I solved it--behavior was caused by a script call to a UNIX
function which didn't exist on the new server.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
line--is there an
analogous command in PHP?
Thank you for your help!
Matthew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
subscribe [EMAIL PROTECTED]
matthew de Jongh
president
the spa! internet
voice (413) 539-9818
www.the-spa.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
That way, people
could use their existing accounts.
Any ideas?
--Matthew
http://www.quabbo.com
Quoting Justin Patrin <[EMAIL PROTECTED]>:
> On Thu, 12 Aug 2004 21:15:40 -0700, Matthew Runo <[EMAIL PROTECTED]> wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash:
Hi, im fairly new to php and mysql and need a little help. im running a
forum community and would like to have it run on multiple databases because
of performance issues others have encountered using the same software on on
database. My question is is it possible to have the software connect to 2
d
Hi guys im pretty new at this and cant seem to get this going I want the
code to query the database for the number of messages posted within the last
month this is the code i have but its not working... I might even have it
all wrong, can someone point me in the right direction?
$lastmonth =
Jonathan Sharp wrote:
> Is it better to do:
> $obj = &new object();
>
> verses:
> $obj = new object();
>
> thanks,
> -js
If you are looking to the future: I don't believe the ability to return
objects by reference will be an option in Zend Engine 2.
Matt
--
PHP General Mailing List (http:/
Jeff Bluemel wrote:
> I have a string that will look like the following;
>
> data1|data2
>
> now - I need to put data1 in a variable, and data2 in another variable.
> I've found the functions strlen, and strpos, but I can't figure how to
> grab this data.
>
> thanks,
>
> Jeff
Try
list($var1,
Look into the CURL libraries.
http://www.php.net/manual/en/ref.curl.php
They essentially allow you to emulate the behavior of a browser. Where I
work, we use them to make SSL connections to payment processing
gateways.
Matthew
-Original Message-
From: Martin Thoma [mailto:[EMAIL
hi
i need to set one directory on my server with global_variables turned on.
i'm running apache
i've read that by setting the environment variable PHPRC, I can point a
directory to a different php.ini file. however, i'm having trouble finding
out how to go about doing this. is this something i
Hi Thomas.
You need to name each checkbox a different name.
alternatively, you can name them with array naming convention.
i.e.
1-1
1-2
2-1
2-2
Checking off 1-1 and 2-2 would create the following variables (assuming
register_globals is on) in the target php script for the form:
$array1=array
On Thu, 2003-07-31 at 14:31, Roy W wrote:
> I have this:
>
> $query = "LOAD DATA LOCAL INFILE '/home/data.txt' INTO TABLE mytable FIELDS
> TERMINATED BY ',' ENCLOSED BY '" . '"' . "' ";
> $result = MYSQL_QUERY($query);
> PRINT "$query2";
>
> The query doesn't take ... but if I cut and paste the
> In mySQL, I store dates as -MM-DD, a standard DATE type. It stores
users
> date of births. I need to calculate in a PHP script, the users age from
this
> DOB. I get a PHP date in the same format as the mySQL and subtract, which
> returns the year rounded off. ie, it doesnt matter if your bir
This may be a stupid question, but I'm trying to set up a system where I can
take a poll from visitors to my website and then set a cookie so that they
can't vote more than once (until they clear their cookies at least).
Problem is, I don't want to put it at the top of my page, because what if
some
VideoIsland.com is looking for genies of LAMP to who can hit the ground
running and work with a fast-moving team based in London over a 1-2 month
period and possibly longer if required.
You will have played a leading role in all aspects of the development of
Object orientated e-commerce service
I have a couple of scripts that fail with the error of:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result
resource in...
I'm new to both SQL and PHP and I'm wondering if I have some setting
turned off or what.
Here's the piece of code that is failing (the second line
h the console or any other
client I have on the physical server and do whatever I want with the db's,
I'm just having problems with php.
Thanks again for your help!!
PHPCoder <[EMAIL PROTECTED]>
07/24/02 01:50 PM
To: Matthew Bielecki <[EMAIL PROTECTE
p"
; The domain for which the cookie is valid.
session.cookie_domain = www.mydomain.com
As always, thanks for your help.
PHPCoder <[EMAIL PROTECTED]>
07/24/02 01:50 PM
To: Matthew Bielecki <[EMAIL PROTECTED]>
cc: php-general <[EMAIL PROT
OH MY GOSH...I ACTUALLY GOT A REAL PROGRAM TO RUN!
Thanks a ton x 1,000,000 Alexander
Thanks,
Matthew J. Bielecki, MCP, A+ Certified Technician
Hobart Corporation
Field Engineer - Weighing & Network Systems
Phone (937) 332-7163Fax (937) 332-3222
Email [E
Hi All,
I have a bit of a problem using the session management functions in PHP4.
(PHP 4.1.2 in fact)
I have a "order wizard" system on my website that is using PHP sessions to
track values entered on the various forms across all pages of the wizard.
at the start of each page i am issuing the "
I am working on code that will allow me to read email that is directed
to a PHP script (via .forward files) for various purposes, as part of an
integrated Intranet project.
I have hacked a bit at it and came up with code that "works" for the
tests I can throw at it, but I'm not confident enough w
Can you use PHP to add appts to my microsoft outlook calendar or open up a
document in ms word?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ay ===
hello
Can anyone tell me what's going on here? I don't think this is at all
the correct behavior.
On Sun, 2002-10-20 at 05:02, Matthew Bogosian wrote:
> Howdy all,
>
> I have stumbled onto a reference behavior I cannot explain. Here's my
> problem:
Howdy all,
I have stumbled onto a reference behavior I cannot explain. Here's my
problem: I'm trying to return a copy of a member variable. The function
is not declared to return a reference, but it seems as if the user can
override this. Here's a non-object example:
Running this yields exa
I have PHP installed both as a module, and as a CLI. When I use CURL
from inside the module, it works fine for all connections, including
SSL. When I use the CLI, I can't make SSL connections with CURL. It just
returns 'false'. Anyone know why?
--
PHP General Mailing List (http://www.php.net
CLI installation? Try running
> this through the CLI to check...
>
> if(extension_loaded('curl')){
> echo 'curl support present';
> } else {
> echo 'curl not found';
> }
>
> mh.
>
>
> On 7 Jun 2002, Matthew Walker wrote:
>
It's 1 based. It returns the number of rows. Not the index of the last
row. (Which would be 0 based.)
On Fri, 2002-06-07 at 19:23, William_dw -- Sqlcoders wrote:
> Hiya!,
> Does anyone know whether mysql_num_rows is zero or one based?
>
> that is, if I have 5 records will mysql_num_rows() return
I want to set up a crontab using my hosts control panel, and when i go to
set one up there are boxes for how frequently you want the task to run, and
one labelled "Command".
Basically, I want to get a PHP script to run every set amount of time, so
what do I have to type in the "Command" box to ge
See here: http://www.php.net/manual/en/function.virtual.php
"Chris Knipe" <[EMAIL PROTECTED]> wrote in message
news:064401c21654$310e4d40$[EMAIL PROTECTED]...
> Yeah, urgh, not exactly what I was hoping on, but I'll give executing perl
a
> try... I want to stay as far away as possible from mod_pe
What do you mean by "appropriate #! at the top"?
"Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Matthew:
>
> On Tue, Jun 18, 2002 at 08:48:19PM +0100, Matthew Ward wrote:
> >
>
Hi All,
I am trying to build a "client interface" for each of my web-hosting
customers, and would like to have them log into the system using the same
username/password combinations that are used for FTP, email etc.
ie: those stored in the Unix system's passwd and shadow passwd files.
I have se
Hi All,
I am trying to build a "client interface" for each of my web-hosting
customers, and would like to have them log into the system using the same
username/password combinations that are used for FTP, email etc.
ie: those stored in the Unix system's passwd and shadow passwd files.
I have se
If you know its grayscale...
function GrayScaleToHex( $val ) {
$norm = $val * 2.55 + $val/100;
$hex = sprintf("%02X", $norm);
return '#' . $hex . $hex . $hex;
}
Should get you close enough.
Matt
René fournier wrote:
> Anyone know how I might convert a grayscale value, from betwe
my understanding is that you could write it like this:
-Original Message-
From: Martin Johansson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 25 June 2002 5:25 PM
To: [EMAIL PROTECTED]
Subject: [PHP] function echo ' '
Is there a way to express php variables inside an echo ' '.
I want
PHP does not support multiple constructors. But, It does support
variable argument lists, so you can fake it with func_get_args() and
func_get_num_args():
function issue() {
if( func_get_num_args() > 0 ) {
$args = func_get_args()
} else {
// do something else...
On Thu, Aug 28, 2003 at 03:35:59PM +0200, Javier Tacon wrote:
>
> A more easy solution is that:
>
> Make a cron that executes every minut /tmp/rreboot.sh for user root
> crontab -e
> Add the line:
> * * * * * /tmp/rreboot.sh
>
> The script is:
> /tmp/rreboot.sh
> ---
> #!/bin/sh
> i
chown 700 /directory/for/rrebootfile
> chown apache.nobody /directory/for/rrebootfile
>
>
> -Mensaje original-
> De: Matthew Harrison [mailto:[EMAIL PROTECTED]
> Enviado el: jueves, 28 de agosto de 2003 15:49
> Para: Javier Tacon
> CC: Petre Agenbag; [EMAIL PROTECTED]
Process Forms
Matt
On Tue, 2003-09-09 at 20:11, Dan Anderson wrote:
> Is it possible to tell a browser to send form a to URL a and form b to
> URL b?
>
> (i.e. post to two different URLS)
>
> Thanks,
>
> -Dan
signature.asc
Description: This is a digitally signed message part
Hi,
I am new to PHP and am more used to JSP. My question is - if I submit a form
to a php3 page using action=="" for some processing all is
well I can see that form data. After the processing the page is redisplayed
- but the data originally sent persits (in the request) this can be a pain
if
£25 - 27K per annum.
If you are interested please reply to [EMAIL PROTECTED] with a Word copy
of your CV.
Kind Regards
Matthew Harvey
020 7938 1333
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
place I started. My client doesn't want to pay for me to "scope" all
of the variables in the application, but it doesn't appear to work without
the proper scoping. Any suggestions on further research will be
appreciated.
Matthew
--
PHP General Mailing List (http://www.php.
"Matthew Morvant" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I posted a couple of days ago inquiring as to why some inhierited PHP code
> was not working. I determined that scope was the issue. The overwhelming
> response I got back pertained to regis
Hi,
This is probably more of a javascript question but thought someone here
might have an answer.
I have a form in a pop up windoe I want this form data to be submited to the
window that opened the popup - how can I do this? I have tried setting the
target attribute on the form tag to window.o
On Thu, 2003-11-20 at 17:12, CPT John W. Holmes wrote:
>
>
> Now $_POST['D1'] will be an array of all the items that were chosen.
>
> ---John Holmes...
>
> ps: wouldn't it be easier to select multiple items if you had a size larger
> than "1"??
The 'size=1' in a select doesn't mean there is o
Do you have long lines? If not try this:
$file = "error_log.txt";
if (($fp = fopen($file,'r+') !== 0)
{
// Increment the 1024 sufficiently to read enough data, fgets
automatically stops at \n
while ($line = fgets($fp,1024))
{
if ($line != "") echo($line."");
}
}
Alternatively,
Has anyone mentioned Bluefish? I was using code crusader till I tried it
yesterday. It blows away both jcc, emacs, xemacs, and gvim.
---Matt
On Wed, 10 Jan 2001, Toby Miller wrote:
> The editors that I usually use are Textpad and Jedit. I usually use Textpad
> as it's my favorite editor. Jedit
I need to find the number of days between a date in the past and todays date. Does PHP
have a function to do this, or do I need to write my own?
-- Random (non-anti-Microsoft) fortune
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
I have a 2-d array:
$list[$ctr]["username"]
$list[$ctr]["county"]
$list[$ctr]["age"]
$list[$ctr]["id"]
$list[$ctr]["days"]
I need to sort by days, which is an integer. What function should I use?
E.g.,
$list[0][mark]
$list[0][somewhere]
$list[0][12]
$list[0][1]
$list[0][200]
$
nsive and
comes with a thirty day trial. Check it out.
BTW, I do not work for EditPlus or have any association with them other than
that of a satisfied customer.
Matthew Aznoe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
need to use Windows anyway for my company's standards of MS Office and
Outlook, its tolerable.
When running exclusively in UNIX, I run Elvis, a graphical vi with syntax
hilighting. XEmacs also is not a bad option, but Elvis is much faster.
Matthew Aznoe
-Original Message-
From:
unset($var)
On Thu, 18 Jan 2001, Brandon Orther wrote:
> Hello,
>
> How can I clear a variable?
>
> Thank you,
>
>
> Brandon Orther
> WebIntellects Design/Development Manager
> [EMAIL PROTECTED]
> 800-994-6364
> www.webintellects.com
>
maybe I'm over simplifying... my apologies if I am but it looks like you're
testing each variable as a boolean value i.e. if(TRUE) so why not use a
switch/case statement... easier to write and saved on extraneous curly
syntax... look here
http://www.php.net/manual/en/control-structures.switch.php
try @ftp_mkdir($conn_id, $uploadtag);
On Tue, 23 Jan 2001, Simon Chambers wrote:
> Hi,
>
> I have developed a small php program which creates a directory on a remote
> ftp site, which works fine. The problem is that when the directory is creted
> it displays the message:
>
> Warning: ftp_mkdir: M
<[EMAIL PROTECTED]> wrote ...
> I am creating a web site which allows users to post projects and then
> others to place bids. I am setting up two tables in MySQL 'Projects'
> & 'Bids' my problem is how best to cross reference. What I was
> thinking of doing is creating a number of fields in the Pr
I am working on a project where I need a function that will take the current
date and subtract however many days off of it a client specifies. Would
anybody know a way I can set this up? I pretty new at this so my vocabulary
is very basic.
--
PHP General Mailing List (http://www.php.net/)
To
Is there a way to simulate a form submission to a cgi-script using PHP? I
am trying to write a script that will replace the frontend of another CGI
script with a customized one of my own, but I need to be able to pass form
data into the next page in the cgi (including a password).
Matthew
I have a mysql database of events. It contains the following fields:
- EventID
- EventName
- EventDescription
- EventStartDate
- EventEndDate
I would like to query the database for the next 5 events from the current
date (today). Any ideas?
Regards,
Matthew Delmarter
Web Developer
--
PHP
to PHP but there are Perl libraries
that we need but don't have the time to convert to PHP. It would call for some
serious translating due to the bad programming technique used. Any advice
would be tremendously appreciated.
Matthew Hanna
[EMAIL PROTECTED]
Has anyone heard of calling Perl libraries from PHP? I have seen it done with Java
classes
but it would be great if there was a way to do it with Perl.
Thanks!
Matthew Hanna
[EMAIL PROTECTED]
How do I return the name of a file without any extensions or path info.
Eg how do I return "about" from "http://www.domainz.com/about.htm".
Regards,
Matthew Delmarter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
Hi,
Can anyone tell me if it is possible to statically build php3 and php4
modules into an apache binary? I tried, but kept getting all these
errors from ld about multiply-defined functions such as:
ld: fatal: symbol `second_arg_allow_ref' is multiply-defined:
(file modu
can someone give a quick hint as to why this does not work:
$array = split ("\n", $contents);
$stuff = array_count_values ($array);
echo $stuff[nuts];
or even:
$array = array (split ("\n", $contents));
$stuff = array_count_values ($array);
echo $stuff[nuts];
$path='/root/helpfiles/';
$dir_handle = opendir($path);
while ($file = readdir($dir_handle)) {
if ((ereg("help",$file)){
INCLUDE "$path$file";
OR
echo ''.$file.'
}
}
Matthew Luchak
Webmaster
Ka
there is a good starting point for walking a directory tree and printing
out the names of the files at:
http://www.php.net/manual/en/function.readdir.php
it should be no mean feat to add a search file function and voila
Matthew Luchak
Webmaster
Kaydara Inc
check the enctype of your form has not changed I had some
inconsistencies using multipart...
>when I post a file in the form I recieve an "Cannot Find Server". When
>there isnt a file posted then the form works fine.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-ma
check php.ini file for "allow fopen" I think.
____
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
-Original Message-
From: ~~~LeoN~ [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 20, 2001 10:59 AM
To: [EMAIL PROTECTED]
Subject: Re:
you can't have whitespace in $valsI would replace the whitespace
with _ and vice-versa when you want to ouput the $vals...
____
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
I'm trying to do the following
But when Aname is multiple word
What about writting a gimp plug-in...? http://www.gimp.org
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
-Original Message-
From: Nick Winfield [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 9:50 AM
To: PHP General Mailing List
I use:
$fp = fsockopen("www.somewhere.com",80);
fputs($fp, "GET http://www.somewhere.com/somedir/somepage.html
HTTP/1.0\r\n\r\n");
to parse. Should be easily modified
________
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
-Origin
hen try the response..
________
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
-Original Message-
From: Michael Conley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 1:00 PM
To: Matthew Luchak; [EMAIL PROTECTED]
Subject: RE: [PHP] fsockopen ques
$x = "yourtexthere.";
$x = substr($x, 0, -1);
$x will then equal = "yourtexthere"
-m
-Original Message-
From: Dexter [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 27, 2001 6:45 PM
To: [EMAIL PROTECTED]
Subject: [PHP] How to chop off a char off end?
Using Perl , I usually say
$stri
I'll be loading the contents of an HTML page into a variable and I need to
get the title of the from that variable.
Basically I need to ge the text from in between the tags.
Any ideas?
Thanks,
Matt
[EMAIL PROTECTED]
< www.mralston.co.uk />
--
PHP General Mailing List (http://www.php.net/)
Think you might need to enable the ms sql server module in the php.ini file.
--
Thanks,
Matt
[EMAIL PROTECTED]
< www.mralston.co.uk />
Hassan Arteaga <[EMAIL PROTECTED]> wrote in message
7F548E90E63BD1118E4600609707771F8BEFF9@goliath">news:7F548E90E63BD1118E4600609707771F8BEFF9@goliath...
Hi al
from what i recall there is a line (to enable ms sql server support) in the
php.ini file already that just needs uncommenting. have a look right through
the file...there's one for sql server 6.5 and one for 7.
--
Thanks,
Matt
[EMAIL PROTECTED]
< www.mralston.co.uk />
Hassan Arteaga <[EMAIL PROT
you might have to restart your webserver/php
if it's apache you might need to recompile it or something...i've not
compiled php into apache before...am using it as a cgi...so i'm not sure
--
Thanks,
Matt
[EMAIL PROTECTED]
< www.mralston.co.uk />
Hassan Arteaga <[EMAIL PROTECTED]> wrote in messa
x27; ', $cFile);
}
and it hurts.any hints ?
TIA,
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
pseudo code:
for($i=-1; $i < count($my_array); $i++) {
if (!in_array($i,$my_array)){echo $i; exit;}
}
should do it.
____
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
-Original Message-
From: Mike Potter [mailto:[EMAIL PROTECTED]]
S
this page
times.
is necessary to preserve the session id
# in the case that the user has disabled cookies
?>
____
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
I would be very interested in hearing of any developments with session
anomilies..
Netscape®
ar expressions, use split unless
you need the functionality of preg_split.
Disclaimer:
I have not done exhaustive performance study of all of the possible
scenarios to find discrepancies, but from my observations so far, the above
conclusions have held true. If anyone has any other informati
y yet undocumented nslookup() function out
there?
____
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
http://www.somewhere.com/index.php";);
exit;
?>
____
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
> Hi,
>
> Is there a PHP function that will redirect the current page to another
url?
--
PHP General Mailing List (h
Happiness is a warm gun.
- John Lennon
>
> What luck for the rulers that men do not think.
>
> - Adolf Hitler
Could you please remove that signature. Thanks.
-Egon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
I think MS is worried. They send me the mag ever month for free, and I
throw it away. I never understood how sending the mag for free to people
that didn't want it made anyone a living. Now that I know MS owns them, I
see that making money isn't the issue, they just want the spin.
--
PHP Gener
How do you include or require a file that is above the current script in the
directory hierarchy? For example how would I include or require a file whose
path is "../file.inc" relative to the current script? I tried all of:
include("../file.inc");
require("../file.inc");
include("/file.inc");
req
Is there a nice easy function that could be used to get a sub string that
lies in between two other sub strings in one big string.
For example... get the text that lies in between "" and ""
(without the quotes) in the code of a web page.
I'm after a function like:
string getstring_between_custo
I'd settle for anyone out there to let me
know any suggestions of completely online web editors
(with or without HTML code access).
Thanks in advance crew!
-------
Matthew M. Boulter
MB Productions, Pty Ltd.
Brisbane, Queensland, Australia
m: 0414-912-501
e: [EMAIL PROTECTED]
icq: 14626936
---
Why would you want to advertise that? Seems like you would be leaking
information to crackers ...
- Original Message -
From: Ryan Christensen <[EMAIL PROTECTED]>
Sent: Wednesday, May 16, 2001 12:43 AM
> does anyone know of a PHP script that echoes the uptime of a server
(Linux) in
> day
If you were trying to take a machine down, it might be useful to know it.
Plus it's easily faked.
> It's very difficult to imagine how 'uptime' information could be used to
> cause mischief...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
any hints on dynamically naming arrays?
ie:
$stuff= explode ("!", $contents);
//$stuff[3] is "foo"
$stuff[3]=explode("&",$stuff[4]);
print_r($foo);
____
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
--
PHP Genera
I've got a date stored in a MySQL database in a "DATE" field, so it is
stored as "2001-05-21". How do I convert that into a more friendly date like
"21 May 2001" or even "21st May 2001" for display on a web page?
I've tried
print date("jS F Y", $dbtable[date]);
but I always get "1st January 197
Thanks Papi,
That works fine.
Matt
[EMAIL PROTECTED]
< www.mralston.co.uk />
Pavel Jartsev <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Matthew Ralston wrote:
> >
> > I've got a date stored in a MySQL database i
Welcome to the world of free software.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Andrew V. Romero [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 28, 2001 9:36 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Licensing??
I am looking into
_Your_ browser has a back button.. great..
There are many situations in which the back button may not be
visible/available/appropriate. You may also not want to go back in your
_history_, just back to the previous page - and possibly set some variables
in the page request. It is far more than a "
Hi there,
This is not a bug.. this is expected behaviour.
The string would be chopped up into 3 parts because you have :
1. a string: "Follow-up To Critique of BeOS "
2. a predefined entity : "&"
3. a string: "amp; Mac OS X"
There are not actually two ampersands.. you have & followed by amp; -
Can anyone give me a pointer on where to go to find out how to send
cookies through images, preferably in PHP?
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.310
Thanks. That's what I suspected, but I needed to make sure.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Bas van Rooijen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 2:28 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Cooki
well thats just the way XML parsers work, according to the parser, what you
have there is not a single string element, you have three child elements
(the parent node being the ).. two string nodes broken up by an
entity node. In other circumstances, this behaviour can be very useful.
Matt.
---
Related to my last question about the cookies in images, is there any
way to get the referrer from the calling page without passing it as an
argument to the image generation script?
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
---
Outgoing mail is certified Virus Free.
Checked
image, and I can't assume it's php. Any advice?
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Billy Harvey [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 3:25 PM
To: Matthew Walker
Subject: Re: [PHP] More on images...
On Thu, 2
1 - 100 of 1121 matches
Mail list logo