Hello,
To these that use the PHP by integrating an Oracle database, I wanted to
know how made you your idea to be able to make the update or insert in your
database.
Thanks
LYNDA HAOUHACH
Ingénieur Systèmes
SONATRACH LTH
Émail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net
Not that I know of - which doesn't mean much. I do know that the RTF
format is a published spec, that you could read if you felt like taking the
time to code a reader.
However, give google a try, and maybe you'll turn something up.
-Jason Garber
At 03:07 AM 2/4/2002 -0500, jtjohnston wrote:
Hi there,
I would like to define the dpi to 72 for images users can upload on my
website. Is there a way to do this with gd2.0?
Thanx Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> can anyone tell me how I can retrieve attributes of a node using SAX
parser
> in PHP??
Yes use a Start Element Handler. The attribues are passed to it as a
associative array.
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969
PGP Key available, send email wit
Hello all!
I would like to change all the links containing string "microsite" from
$contenido1 to: http://www.whatever.com";>Link not available.
The rest of the links of $contenido1 would have to be ontouched.
To do this, I tried
$contenido1=eregi_replace("()","http://www.whatever.com\";>L
[EMAIL PROTECTED] (Stephano Mariani) wrote in news:004801c1ad03
$2d208e60$8000a8c0@sknet01:
> My question, is there any way of doing this with classes? I know I can
> write individual functions in C and build them into a module, but how
> can I do this with classes, if at all?
>
> TIA
>
> Steph
Just a note...
Make sure your server's IP address is not black holed by some spam list...
-Jason Garber
IonZoft.com
At 08:22 AM 2/4/2002 +0100, TV Karthick Kumar wrote:
> Hi,
>
> I use a form on my website for the visitors to send me the feedback and
>use the mail() to do this job for me.
Hi there,
Am I correct in thinking that you can specify the PHP include_path line
within an Apache .htaccess file? If so does anyone know the correct
syntax of doing this?
If you cannot specifiy PHP's include_path line from within this file -
how do you use different include paths for different
Running a 3rd party developet servlet (Apache JServ) driven site, and
desperately want to be able to execute PHP code within this system.
Unfortunately the developer has virtually no knowledge of how PHP sits in
the system.
Is it possible to somehow get PHP code executed if the code is read vi
If its parsing xml using PHP is what u r looking for, chk out:
http://www.phpbuilder.com/columns/joe2907.php3
http://www.zend.com/zend/art/parsing.php
http://www.melonfire.com/community/columns/trog/archives.php
-Original Message-
From: Peter J. Schoenster [mailto:[EMAIL PROTECTE
thnx.. had figured it out :)
thnx all the same..
sands
-Original Message-
From: Jon Farmer [mailto:[EMAIL PROTECTED]]
Sent: segunda-feira, 4 de Fevereiro de 2002 9:26
To: Sandeep Murphy; [EMAIL PROTECTED]
Subject: Re: [PHP] SAX + attributes
> can anyone tell me how I can retrieve
Hy list :-)
I need to manually send the HTTP header with PHP.
The following is an example what I have to send to the client:
HTTP/1.1 200 OK
Date: Mon, 04 Feb 2002 10:01:54 GMT
Server: Apache/1.3.20 (Unix) mod_ssl/2.8.4 OpenSSL/0.9.6
Connection: Keep-alive, close
Expires: Thu, 01 Dec 1994 16:00
On Monday 04 February 2002 17:43, Neil Freeman wrote:
> Hi there,
>
> Am I correct in thinking that you can specify the PHP include_path line
> within an Apache .htaccess file? If so does anyone know the correct
> syntax of doing this?
>
> If you cannot specifiy PHP's include_path line from within
Hi,
This is my first time attempting to use htaccess files. I am running Apache
1.3.20 with PHP v4.0.6 installed as a module. Within Apache's httpd.conf
file I have the following value set:
AccessFileName apache.htaccess
And within an 'Alias' directory I have a file entitled 'apache.htaccess'
w
On Mon, 2002-02-04 at 01:43, Neil Freeman wrote:
> Hi there,
>
> Am I correct in thinking that you can specify the PHP include_path line
> within an Apache .htaccess file? If so does anyone know the correct
> syntax of doing this?
Something along the lines of:
AddType application/x-httpd-ph
On Sun, 2002-02-03 at 21:34, Martin Towell wrote:
> is that a direct copy from your code? - if it is, there's two errors
> 1. you have a comma just before the closing backet
> 2. the function is : implode(string glue, array pieces)
>so that would be : $content = implode("\n", $lines);
>ie.
Just use header().
header("HTTP/1.1 200");
header(Date: Mon, 04 Feb 2002 10:01:54 GMT");
etc., etc.
Just make sure that they are all sent before you start any output to the
browser.
Mike
- Original Message -
From: "Daniel Reichenbach" <[EMAIL PROTECTED]>
To: "Php-General" <[EMAIL PROTE
Thanks for the quick reply Jason. This looks like it'll achieve what I want but I
think that using a htaccess file is a better 'overall' method.
Cheers,
Neil
Jason Wong wrote:
> On Monday 04 February 2002 17:43, Neil Freeman wrote:
> > Hi there,
> >
> > Am I correct in thinking that you can sp
Thanks for the syntax info Lars.
Neil
Lars Torben Wilson wrote:
> On Mon, 2002-02-04 at 01:43, Neil Freeman wrote:
> > Hi there,
> >
> > Am I correct in thinking that you can specify the PHP include_path line
> > within an Apache .htaccess file? If so does anyone know the correct
> > syntax of
Hi,
This is my first time attempting to use htaccess files. I am running
Apache
1.3.20 with PHP v4.0.6 installed as a module. Within Apache's httpd.conf
file I have the following value set:
AccessFileName apache.htaccess
And within an 'Alias' directory I have a file entitled 'apache.htaccess'
How can i accessa HTML object into a PHP code ?
as such as :
A
B
C
http://mobile.msn.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 04 Feb 2002 09:32:31 -0200, you wrote:
First, you need to fix those tags :
>
>A
A
>How can a access ~x~ content into a PHP variable ?
It happens automatically. When you submit a form, PHP variables are
created for the receiving script that match the contents of the form.
On Mon, 4 Feb 2002 09:23:24 - , you wrote:
>Hello,
>To these that use the PHP by integrating an Oracle database, I wanted to
>know how made you your idea to be able to make the update or insert in your
>database.
http://www.php.net/manual/en/function.ociexecute.php
or maybe
http://www.php.
Hello everyone,
I have a problem that has nothing to do with PHP. I know
I shouldn't ask it here, but I need a response urgently as it's
a major security hole.
I'm trying to set up a firewall, I've sucessfully got my portblocking
working and all the ones I need open are open, but I can't get
>best regards,
>
>eduardo melo
>copmuter programmer
Any cops on this list:
watch out for this guy!
bvr.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello, list!
I have in my page and want it to insert \tabs when clicking Tab
instead of focusing on the next control element. Any thoughts or
suggestions?
Thanks
Valentin Petruchek (aki Zliy Pes)
*** Cut the beginning ***
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
--
PHP General Maili
On Mon, 04 Feb 2002 01:29:11 -0500
"Jason G." <[EMAIL PROTECTED]> wrote:
> MS Word is a proprietary, binary (i think), format... Have fun.
>
> There may be a solution out there.
>
> If you could convince her to save it in Rich Text Format (rtf) and
> then upload it, your life would be much eas
I heard before that you can store session variables in a database rather
than using the tmp directory etc etc..Does anybody have any links on
this?
Thanks
Randy
- Original Message -
From: "Yoel Benitez Fonseca" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 18, 2
Hi,
I am trying to access a remote file by opening a socket on port 80 but keep
getting refused...
The server does listen on port 80 as i can access it via browser...
my code reads like this:
http://srv157:7001/Palmeira2Application/palmeira2.servlets.communicator.Com
municator";
$Request =
What would be the easiest and more effective way to
check for bouncing email addresses?
Thank you.
--- Manuel Lemos <[EMAIL PROTECTED]> wrote:
> Hello,
>
> B Richards wrote:
> >
> > How many emails per hour can people generate on a
> typical dedicated server?
> > on qmail? on smtp?
>
> It de
This should help you. It is the fsockopen version of what I posed about 6
hours ago.
function getdata ($host, $port, $data)
{
$fp = fsockopen ( $host, $port, $ec, $es, 5.0);
if ( !$fp )
{
exit ("ERROR $ec: $es\n");
}
fputs ($fp, $data);
ereg() and eregi() should help. Maybe even explode().
On Monday 04 February 2002 03:32, you wrote:
> How can i accessa HTML object into a PHP code ?
>
> as such as :
>
>
> A
> B
> C
>
> How can a access ~x~ content into a PHP variable ?
>
> best regards,
>
> eduardo melo
> copm
Hi,
nope, its still not working.. Along with the Host and port, I Have to send 3
more fields, Action,Username and Password for authentification and it has to
be Post for the Servlet does not respond to Get requests..
any more ideas pl???
Thnx...
sands
-Original Message-
From: Evan Nem
Hey,
Does anyone know of a well written example of this? I have seen so many
examples, but the over head just seems to be too much... does anyone have a
smooth and well written routine?
Regards,
Kunal Jhunjhunwala
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
> The server does listen on port 80 as i can access it via browser...
> "http://srv157:7001/Palmeira2Application/palmeira2.servlets.communicator.Co
>m municator";
Am I missing something here? What's "srv157:7001"? Why don't you first try
http://www.google.com?
Bogdan
--
PHP General Mailing Li
> -Original Message-
> From: Neil Freeman [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 04, 2002 4:45 AM
> To: PHP General
> Subject: [PHP] How do I get htaccess files to take effect?
>
>
> This is my first time attempting to use htaccess files. I am
> running Apache 1.3.20 with
> Does anyone know of a well written example of this? I have seen so many
> examples, but the over head just seems to be too much... does anyone have a
> smooth and well written routine?
> Regards,
> Kunal Jhunjhunwala
I think this may help out. I wrote a site that has a daily devotional on
it,
hi,
got a weird problem... what i am trying is this:
$str = str_replace("é", "e", $str);
in a string containing a 'é' for sure...
but it doesn't replace it..
when i try this:
echo str_replace("é", "e", "dfsdfsdfé");
it works !?
any suggestions?
Tomy Wagner
On Friday, February 1, 2002, at 06:05 PM, Georgie Casey wrote:
> OK, I've a page for my users to sign up on my website and in the form,
> there's a few checkboxes fields. So I set the name of the check boxes as
> name[] and PHP made an array of all the options choosen. All the check
> boxes
>
> // build your links
> // this will, of course, change with your dating schema
> $prev_link = "http://yourdomain.com/?$prev_year-$prev_month-$prev_day;
> $next_link = "http://yourdomain.com/?$next_year-$next_month-$next_day;
Sorry, I omitted the closing quote mark on these lines. Here is a
non-
srv157 Stands for the server same and 7001 is the port..
with www.google.com, get a request denied error...
sands
-Original Message-
From: Bogdan Stancescu [mailto:[EMAIL PROTECTED]]
Sent: segunda-feira, 4 de Fevereiro de 2002 16:01
To: Sandeep Murphy; [EMAIL PROTECTED]
Subject: Re: [PH
On Saturday, February 2, 2002, at 06:05 PM, Sterling Hughes wrote:
> I think you are confused... Unsolicited e-mail is in fact the
> definition of spam!
>
Semantics war!
You're both right... although originally, it meant repetitive blasts of
identical material (to newsgroups). I'm pretty s
Thanks for the reply Mark,
I am fairly new to this :) Here is a snippet of what I have set up so far
(httpd.conf):
DocumentRoot "D:/Program Files/Apache Group/Apache/realdocs"
Options FollowSymLinks
AllowOverride None
Options Indexes FollowSymLinks Mu
Ok, could someone tell me why this isn't working?
(note, I took out all my error checks. This is just the
relevant code...
$query = "Query that does return row(s)";
$result = mysql( $dbname, $query );
$macroDataArray = mysql_fetch_array( $result );
for( reset( $macroDataArray ); $elementKey =
Hi all,
i searched the manual for a php backup function for a mysql DB.
I can't seem to find it, but i'm not sure whether it exists.
mysql_backup_db maybe??
thx. Wilbert
-
Pas de Deux
Van Mierisstraat 25
2526 NM Den Haag
tel 070 4450855
fax 070 4450852
http://w
This could be the problem in your for loop: $elementKey = key(
$macroDataArray ) - you're using the = assignment operator. Try == or <=.
Mike
- Original Message -
From: "Chris Boget" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 04, 2002 8:29 AM
Subject: [PHP] Oddity
I have a question about the gd function imagecopyresampled- i get an error that i'm
not sending it a valid image resourse. I believe it is the variable $new_im that is
not valid- when printed, it is a resource id not an image path. but i'm not sure. this
is all the code from a function. if
> -Original Message-
> From: Neil Freeman [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 04, 2002 10:36 AM
> To: Mark Roedel
> Cc: PHP General
> Subject: Re: [PHP] How do I get htaccess files to take effect?
>
>
> Thanks for the reply Mark,
>
> I am fairly new to this :) Here is a
Use PHPMyAdmin. You can dump to a CSV file or it can output all of the
INSERT statements to rebuild a table.
- Original Message -
From: "Wilbert Enserink" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 04, 2002 8:22 AM
Subject: [PHP] mysql backup function in php?
>
> $macroDataArray = mysql_fetch_array( $result );
I'm still curious what is going wrong, but I've found a work arround.
One of the things I love about PHP is that you learn something new
just about every day. Instead of fetch_array(), I can use fetch_assoc()
and it'll do just what I need. :)
Ch
You may want to give mysql_fetch_object a try. I like it because you end up
typing less. You access elements like this: $row->data, instead of
$row['data']. Just my $0.02.
Mike
- Original Message -
From: "Chris Boget" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 04,
Hi,
After a long time absent from Zend I came across to it today just for
any new articles. To my surprise they changed their home page and
it seems like they are promoting their Zend Studio 2.0. I have no idea
what it is. Is it like a Visual Studio? Does it support template? If any
out there has
I've taken out the '=' sign and.we have success!!! Thanks a lot for
your time Mark.
Neil :)
Mark Roedel wrote:
> > -Original Message-
> > From: Neil Freeman [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, February 04, 2002 10:36 AM
> > To: Mark Roedel
> > Cc: PHP General
> > Subjec
You can get the requested location from:
$_SERVER["QUERY_STRING"]
and use the dirname() function on it.
bvr.
On Sat, 2 Mar 2002 10:29:09 +0100, Andy wrote:
>Hi there,
>
>I am trying to find out which dir the user is browsing. How can I get the
>URL into a var? I tryed path_info, but it only
I think that it depends on where you put it at compile time... but on my
system it's /usr/local/lib/php.ini
Erik
On Monday, February 4, 2002, at 01:40 AM, Andy wrote:
> does anybody know where the php.ini is on Mac OS X?
>
> I would like to activate gdlibrary.
>
> Thanx for the hint Andy
>
On Monday, February 4, 2002, at 02:37 AM, Richard Baskett wrote:
> Actually there is not a php.ini in MacOS X. When you run phpinfo() see
> where the php.ini file should be located and you can put your own there.
Oh yes, I should have realized you were talking about the built-in PHP.
I reco
OK.
I don't know if what I'm trying to do is going to work this way.
I have three servers that I need to fetch data from. To do this, I
have set allow_url_fopen to On, and I use fopen to retrieve the data
into a variable. This works on two servers.
The third server requires cookies (you get re
I'm trying to validate an input form, for database INSERT/UPDATE. I'm
looking for a couple of Techniques and I cant seem to find examples
anywhere:
1. Validate Alpha Text with spaces, such as NAME, CITY, STATE, but limit the
length of each one separately, and remove unwanted characters like
Hi,
To prevent user input from messing with your query you just need to
escape the characters used to delimit query values.
MySQL for example uses ' (single quote) to delimit values so you should
use addslashes() on all values.
This will make inserting values containing the ' character work a
You might want to take a look at PhpAdsNew, a banner rotation/management
system using PHP and MySQL:
http://sourceforge.net/projects/phpadsnew
The system's admin tools assume that you're selling ad space, but there's no
reason you couldn't use it for a banner exchange instead.
-Andy
> On Fri,
Hi
If I use $snippet = ""; and escape the quotes in the block then it
works. But if I use it as is below, it fails with no useful error
message. Why?
Thanks,
Peter
function GetAddCommentSnippet($args) {
$topic_id = $args[id];
$return_page = $args[return_pag
Take that a little further and extract the code from phpMyAdmin for use in
your own project.
Miles
At 08:36 AM 2/4/2002 -0800, Mike Maltese wrote:
>Use PHPMyAdmin. You can dump to a CSV file or it can output all of the
>INSERT statements to rebuild a table.
>
>
>- Original Message -
>Fro
on 2/4/02 11:32 AM, Peter J. Schoenster at [EMAIL PROTECTED] wrote:
> Hi
>
> If I use $snippet = ""; and escape the quotes in the block then it
> works. But if I use it as is below, it fails with no useful error
> message. Why?
not sure if this is it or not, but from the manual
http://www.php
Hi there,
I have a somewhat urgent issue so I'll get right to the point.
There are two tables and for simplicitys sake I stripped about 2/3 of
the tables structure.
I need to order the data from two SQL tables by date. Basically a
chronological list from the two tables. Now, ordinarily I wou
Hi. I'm learning PHP3 on an IIS 4.0 box and I started by trying out this
simple HTML form. The form lets the user input his/her name, email address,
and select whether he/she likes oranges or apples and sends the data to a
.php file that displays what the user input on the HTML form. The form
meth
Well, w/o any where condition, etc., what does
select * from activities, disbursement order by activities.fillin,
disbursements fillin;
give you? I'd suspect all the activities, followed by the disbursements.
How about creating a results table, with all the fields, and do an INSERT
... SELECT
Good day,
This isn't strictly a PHP question, but, I am hoping someone on this list
has gone through this already and can provide some assistance.
I'd like to upgrade to PHP 4.1.1 on our Redhat 7.2 servers, and so I've
downloaded all of the PHP RPMs from Rawhide. I would really, really like to
This is the URL in its tag:
Media Coverage Test Page
Those variables are supposed to be used to populate this SQL statement:
-Original Message-
From: mike cullerton [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 04, 2002 12:03 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: R
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello all,
I am getting the following error trin to use the mysql_connect
command in a script:
Parse error: parse error in /usr/home/rclark/phptest/addrecord.php on
line 19
Here is line 19:
$connection = mysql_connect("localhost","phpkid","d0wn")
(try again - Sorry for the double)
my config: PHP 4.1.1/NT/iPlanet 6.1
This is the URL in its tag:
Media Coverage Test Page
Those variables are supposed to be used to populate this SQL statement:
$sql = "SELECT comp, content FROM $locale
WHERE sec = '$sec' AND
I have made a simple IMAP mail checker. IT doesn't let you read the mail,
just lets you see the headers and delete messages. I have it working great
running under Apache 1.3.22 and PHP 4.1.1 on Windows XP. All of the IMAP
functions work as expected. The problem is when I take the same php files
I'm starting to have a horrible time of pulling web pages from the server.
I checked and found the following entries in the MySQL database server log.
The error doesn't occur all the time, but it occurs a lot and only when
communicating to the server through PHP. Any idea of what's going on? Or
Thanks bvr
This is good to know, but I still need some validation with my particular
application, as below. Thanks for your time.
Simon H
> -Original Message-
> From: bvr [mailto:[EMAIL PROTECTED]]
> Sent: 04 February 2002 17:44
> To: php-general; Simon H
> Subject: Re: [PHP] Yet anot
The flexibility of the dynamic module is great. I recommend it. I haven't
discovered an major advantages of the static modul myself, although I know
they've got to exist (either that or it's just a remnant of previous
versions, there for those who are afraid of change :) ). Compile Apache
alone
On Monday, February 4, 2002, at 05:11 PM, Mike Frazer wrote:
> I haven't
> discovered an major advantages of the static modul myself, although I
> know
> they've got to exist (either that or it's just a remnant of previous
> versions, there for those who are afraid of change :) ). Compile Apa
Check for a missing line or block terminator just above line 19.
Kirk
> -Original Message-
> From: Ron Clark [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 04, 2002 11:32 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Parse error
>
>
> I am getting the following error trin to use th
On Mon, 2002-02-04 at 10:32, Peter J. Schoenster wrote:
> Hi
>
> If I use $snippet = ""; and escape the quotes in the block then it
> works. But if I use it as is below, it fails with no useful error
> message. Why?
>
> Thanks,
>
> Peter
This function cut-and-pasted? If so, then you may have
On Mon, 2002-02-04 at 11:49, James Hallam wrote:
> (try again - Sorry for the double)
>
> my config: PHP 4.1.1/NT/iPlanet 6.1
>
> This is the URL in its tag:
>
> HREF="test_mediacoverage.php?locale=en_na&sec=news&subsec=media&name=infowee
> k1">Media Coverage Test Page
>
>
> Those variables
Hugh,
I experimented with JPEG when I started using the GD libraries and was not
satisfied with the results. Just too many image quality issues. Unless your
map is a image (vs a graphic) I wouldn't use Jpeg. The coloring you speak of
may be a result of jpeg compression. Using no compression will
On Sun, 2002-02-03 at 14:06, Lars Torben Wilson wrote:
> On Sun, 2002-02-03 at 12:12, Mike Frazer wrote:
> > Your reply piqued my curiosity so I whipped together a script that times the
> > execution of a foreach(), a while() and a for() loop executing the same
> > commands. The results were rath
I've found fsockopen to be very reliable. I've done a few socket scripts
with PHP (WhoisPro, et al).
I believe the easiest way to check for a remotely closed socket is to do an
fgets() and check for EOF:
while (!feof($connection)) {
$buffer .= fgets($connection, 4096); // 4096 is the ch
That was *exactly* it.. I copied that code in and everything worked!
Thanks so much - my head was getting sore from beating it on my desk!
I still have much to get used to with 4.1.x ..
James
-Original Message-
From: Lars Torben Wilson [mailto:[EMAIL PROTECTED]]On Behalf Of Lars
Torben
$date1 = "12/12/2001";
$date1 = date("D M j Y", strtotime($date1));
print $date1."";
When I execute the code above I get the following
output:
Tue Dec 11 2001 instead Wed Dec !2 2001
Why does this happen and how can I get the Dec 12
output? Thanks
___
I have two php scripts being included on my website.
one is a switch statement used for page navigation, and the other is an
elseif used to display different html code based on the value of a variable
(different on each page)
My apache server keeps freezing up and my hosting company tells me tha
Using php3 is there a way to have a page only be access if the user is
coming from another page? I don't quite know how to word what I am thinking
but for instance...
Form <-- page that contains a form to submit an email address to a mailing
list
Confirm <-- page that confirms the users email add
I'm having some trouble with a file upload script that runs over SSL. It seems
that the file is kept in memory while being uploaded and then flushed to disk
as a temp file. This is fine, but when you are dealing with large files, you
can run out of memory. Apache (or PHP?) also doesn't seem to rec
if (eregi("page_user_has_to_come_from",$HTTP_REFERER) != "") {
print "You didn't come from the right page, please go back.";
}
else {
print "Congrats, you came from the right page!";
}
Tyler
- Original Message -
From: "jas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednes
I'm trying to send an html email via a php script, but I'm running into a
rather bizarre problem. I can get it to send the email just fine, but when it
is read on windows Outlook (macintosh outlook express are unaffected) clients,
it strips two characters after any '=' signs, so it plays havoc
hi, i know this question's been asked before but i can't find the email...how do i do
the delete link that pops up a message box with the information of the deleted entry
using php? like the one in phpmyadmin 2.2.3. thanks. :)
I've been playing around with php alot lately and started to scheme ways to
use it-lol
so heres what I tried to do:
first there is a switch statement:
On that some_file.php I have an elseif like so:
Then on the page where thee are required I require them at the top of the
page.
and I have th
sounds like it might have something to do with leap year.
Jim Lucas
- Original Message -
From: "toni baker" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 04, 2002 12:03 PM
Subject: [PHP] date problems
> $date1 = "12/12/2001";
> $date1 = date("D M j Y", strtotime($d
Christian Stocker wrote:
>>see (which is how I labelled it above) and what I'm capable of actually
>>contributing.
>>Doing C-code PHP extensions is beyond my capabilities, so I make do with
>>what others contribute. Simply because something is opensource doesn't
>>mean everyone has equal talent
i think it is the strtotime() function that gives the trouble... why don't
you try mktime() ?
> sounds like it might have something to do with leap year.
>
> Jim Lucas
> - Original Message -
> From: "toni baker" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, February 04,
$date1 = "10/12/2002";
$date1 = date("D M j Y", strtotime($date1));
$date2 = date("D M j Y");
$date3 = date("D M j Y", $date1);
print $date1."";
print $date2."";
print $date3."";
The code above gives me the following output:
Fri Oct 11 2002
Mon Feb 4 2002
Wed Dec 31 1969
Is the strtotime()
I read somewhere that if you type an underscore it clears authentication
info. I haven't tried it and it seems obscure but its worth a try!
LJ
"Frederick L. Steinkopf" <[EMAIL PROTECTED]> wrote in message
018201c1ac67$c4d9c6a0$851a88ac@frederis">news:018201c1ac67$c4d9c6a0$851a88ac@frederis...
>
Ok I think I know what I need to learn... how can I do a redirect based on
whether or not a user came from a certain page? For example... if a user
comes from a page called confirm.php then it takes them to a page called
thanks.php and if the user came from a different server or typed the url
dir
Something along the lines of:
if( ereg("/confirm.php", $_SERVER['HTTP_REFERER']) ) {
Header("Location: thanks.php");
exit;
}else {
Header("Location: index.php");
exit;
}
You might want to do some additional checking as well.. the above would
match both "/path/to/
Hi Guys!
I'm looking to get a *deeper understanding* of uksort. My quandry:
$array[listing1][name] = "listing 1";
$array[listing1][premiere] = "";
$array[listing2][name] = "listing 2";
$array[listing2][premiere] = "";
$array[listing3][name] = "listing 3";
$array[listing3][premiere] = "yes";
I'
Thanxs... I couldn't use your script (because of my lack of experiencie
maybe) but you gave me a very good hint about what to look for.
I sent an attachment (with a class located in this URL :
http://renoir.vill.edu/~ylee/mailfile.txt), but that wasn't what my boss was
thinking of.
(Now he tells !
Hi!
I have an interesting problem. I am wondering if it is related to PHP
or Apache. So, I need your feedback on this one. What happen is when I use
the HTML Form "POST" and submitted it. It worked fine and getting to the
2nd page. The 2nd page include some PHP script and a modem script.
1 - 100 of 186 matches
Mail list logo