I've got a client who wants to be able to export some stuff from a MySQL
database in a format that Quicken can import to print some checks. Is
this possible? From what i've seen, Quicken takes a proprietary format.
Any info would be appreciated. Thanks,
Joe
There is some very basic PHP extensions on the DW UD exchange site .. I have used
mainly DW4 with php no problems.. however I must also say I do the bulk of my php
coding in Homesite 4.5 from there go in to dw
Peter
-Original Message-
From: rm [mailto:[EMAIL PROTECTED]]
Sent:
Is there any way to tell PHP to NOT produce a Mime Header?
None, none at all... Not a Content-type:, nothing...
For the CGI version use php -q
For the module version it isn't PHP sending the content-type, it is
Apache. And no, there is no way to stop Apache from sending a
content-type as
Hello all,
I have come to a situation where i am having a variable inside another variable.
for example.
$rm_$cat_adt
The above is a variable and $cat is again another variable
This does not work..
Need some help!
Thanks,
Hasan
Use Macromedia's Generator 2.0 along with flash 5.0. This gives ability to
connect to database - php with flash object.
manisha
At 08:45 AM 6/12/01 -0700, Karl J. Stubsjoen wrote:
Hey Guys,
Anyone have any good starting points for delivering charts on the web?
Thanks a bunch.
Karl J.
I think your troubles are that you need a
#!/path/to/php
or you can start it with
php -f file.php
Julia
Quoting Splashy ([EMAIL PROTECTED]):
Hi,
Please find script below and hopefully tell me why when I run it over the
web it works perfectly but when I run it using cron or in a telnet
I have a site that is password protected using PHP and MySQL. I would like
to give people the option to log out. I've tried to set the cookie without
setting the time but that only deletes the cookie when the browser session
ends. Is there a way to delete it all together?
.
Tom Beidler
Orbit
Dear Sir,
Can you delete my email address in the mail group?
Thanks!
Hi,
I searched the archives for this.
For debugging purposes, I want to see a list of the included files on a page in HTML
comments.
PHP_SELF and HTTP_SERVER_VARS[SCRIPT FILENAME] only returns the name + path of the
file calling the included files.
I want each included file to contribute
At 22.06.2001 08:45, you wrote:
Wow, its
so nice to have the lists back. I missed getting hundreds of mails a
day.
You need to post more on usenet or other spambot-roaming-grounds...
That way they'll always keep your Maildir busy with the lovely Free
XXX messages,
hopefully you'll get atleast 5
At 19.06.2001 15:37, you wrote:
Hi all
Probably some Apache/mysql/php-Admin gurus can give me a hint :
i just moved a website to it's own server ( my first one).
now apache had eaten up all physical and virtual memory
some httpd had allocated 45MB of RAM, memory ran out myqsl crashed...
snipped
On Tue, 19 Jun 2001, Tobias Talltorp wrote:
I have a few questions regarding credit cards and the Payflo Pro function in
PHP.
Currently I only need to check that the creditcard is valid, no actual
payment is needed right now.
1)
How do I perform this check against Payflo Pro?
This
Richard Kurth [EMAIL PROTECTED] wrote:
I am using this script to validate for phone numbers and it work just
perfect for US phone numbers. But it rejects some European and
Australian numbers what do I need to do to make it validate all phone
numbers
if (($WPHONE_NO) || ($wphone_no)) {
Hi every body,
I look for some plase to find good programs for APACHE web server on Windows, such as
PHP for windows, Proxy Server, ASP Support with Apache,
etc., Is there any one to help me?
With best regaurds
Ali Amirnezhad
Hi All.
I have a query which has confused me a bit. I have a database setup where I
use htaccess (using apache/php/mysql on a freebsd 3.4 box) to grant access,
then it grabs the users info from the database, sets a cookie and pretty
much lets the system know whos doing what on the db.
Does anyone know of a PHP/mysql based associate program software solution.
Thanks,
Chuck
Hi,
?
while($data = mysql_fetch_array($result)) {
echo $data[text];
}
eval($data['text']);
?
That'll work :-)
http://www.php.net/manual/en/html/function.eval.html
read that for more information.
=
*
At 19.06.2001 15:59, A. Skwar wrote:
So sprach Wico de Leeuw am Tue, Jun 19, 2001 at 01:09:49PM +0200:
I don't know which ancient version you are using but version 5+ can filter
on cc:
Don't know about Eudora, but filters in webmailers (like gmx.de) cannot
filter on CC, nor can Lotus Notes
I have developed shopping carts and session related Web sites for my
employer where we have control over the php environment. On our servers, we
do not enable the 'trans-sid' option. I'm now trying to set up a session
related site for a friend of mine on a Web host of her choosing. On this
host,
I am working on a admin page where companies log in to there own company
admin page. Can anyone help out with a script to have the username and
password directly linked to there own company admin page.
That's a pretty vague and nebulous request - if you ask us something
specific,
we can
unsubscribe php-general
I would set your database up like so.
tablecompany
idcompany otherstuff
tableusernamepass
compidusernamepassword
Make the ID in the tablecompany auto_increment then test the
tableusernamepass compid
against it when the user properly logs in. Exampe of the
I miss the feeling of having over a hundred mails a day, glad it is back
again.
Jack[EMAIL PROTECTED]"Love
your enemies, it will drive them nuts"
Hi to all of you again!!
I have a perl-script for sending a mail (don't ask - I *need* it for sending
mails!).
In perl I use it like:
--
open(MAIL, |mail.pl);
print MAIL From: \xx\@xx.com\ xx\@xx.com\n.
To: \xx\@xx.com\ xx\@xx.com\n.
Subject: TEST\n\n.
This is the
Hi,
I've got Dreamweaver UD 4, by default it supports ASP, JSP, and ColdFusion
- as of yet Macromedia isn't overly interested in supporting PHP as there
is no company backing it.
There are however several PHP engine extensions in the works for PHP4 -
they're on release 0.6.8 now I think, so
why don't you do something like
$var = $foo $baa;
?
-Original Message-
From: Hasan Niyaz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 12:07 PM
To: [EMAIL PROTECTED]
Subject: [PHP] inserting a variable into a variable
Hello all,
I have come to a
I have come to a situation where i am having a variable inside another
variable.
for example.
$rm_$cat_adt
This works for me:
?
$cat=def;
${abc_.$cat._ghi}=TEST;
echo 'abc_.$cat._ghi = '.${abc_.$cat._ghi}.br\n;
echo 'abc_def_ghi = '.$abc_def_ghi.br\n;
?
michi
--
GMX - Die
Hi
How to figure out of a value is found using array_search ?
eg:
$myarray = array(val1,val2,val3);
if(array_search(val2,$myarray))
{
print Value found;
}
the above will work, but...
if(array_search(val1,$myarray))
{
print Value found;
}
the above will not work as val1 is key 0, how
Title: RE: Lists are back up
Hi Rasmus!
Thank You for sharing that; I was beginning to fear that I had been permanetly banned. ;-)
Good work!
Best Regards,
Henrik J.
--
From: Rasmus Lerdorf[SMTP:[EMAIL PROTECTED]]
Sent: den 18 juni 2001 21:15
To: [EMAIL PROTECTED]
Subject:
hello everyone, is it 'bad form' (no pun intended) to have a form point to
itself for processing, rather than forward the form variables to another
page? Anybody have any input on this? I try to have 1 page that is the
form and handles all the processing as well in order to keep the page count
If your using the standalone binary, I /think/ its something like php -q
If it's the module in apache, you will have a problem as apache itself
will add a certain degree of header information.
-Original Message-
From: Meles Meles [mailto:[EMAIL PROTECTED]]
Sent: 19 June 2001 14:03
To:
At the top, put:
#!/path/to/php -q
?
...code...
?
The reason itsgiving you those errors is because it doesnt no what
interpreter to use for the script. Of course, your going to have to
have the standalone binary of php built, not the apache module.
On a side note, does anyone know if you can
This is actually a security feature of cookies, so that domains that
dont match your cookie cannot read personal details set by another
site. Don't worry, its all in order ;)
Ray Hilton
-
[EMAIL PROTECTED]
http://rayh.co.uk
-Original Message-
From: Tomaz Kovacic [mailto:[EMAIL
Hi people
We all know we use PHP_AUTH_USER for login auhenthication, how about when
we need to logout? Can we just simply link them to someplace else or do we need
to anything special beside normal link?
cheers
Jack[EMAIL PROTECTED]"Love
your enemies, it will drive them nuts"
Eval($var);
That should execute the code I've never tried this to be honest,
you will have to let me know your findings. I was thinking of doing
something like it in perl, so that you could have a small daemon
running, and it connects to a master server and updates its own code
somehow...
What on earth are you trying to do? :)
I'm not sure what your getting at, do you mean defining a variable based
on another variables name? Perhaps try using an array, and specifying
$rm($cat)
Sorry, im not too sure what you mean
Ray Hilton
-
[EMAIL PROTECTED]
http://rayh.co.uk
-Original
Anyone know when and
how you can sign upfor the conference in Franfurt (5-7 Nov
2001)?
Can't find any
information at there website, someone who can help me?! :o)
Regards
Johan
If i had safe_mode = On; in php.ini, How do i set
to have a certain directory that have safe_mode=Off ?
Hello,
I hit a wall. No offense, but this OO stuff in PHP is somehat weird, but
skip to the problem.
I have for example three classes:
class a {
function make() {
// some code
}
}
class b extends a {
function make() {
// some code
parent::make();
}
}
Hi everybody,
How much the include() can slow down the execution of the scripts; if I
call one file let say for the db connection it's clearly ok but is it a
limite of numbers of include in one script from where that slow the
process?
Marc
--
Hi Jay,
Julie Melonie participate to the redaction of a book on FLASH 5; see
infos on her website at http://www.thickbook.com you can also find there
some tutorial on the subject.
Marc
Jay Paulson wrote:
Anyone know of any good books that actually deal with php interfacing with
flash 5?
Hi,
Sorry for the stupid question, but i don't have at me a PHP manual
and I want to save some string to file from PHP.
Can someone tell me how ( with what function to do this ) ?
Thanks
Rosen
Anyone know when and
how you can sign upfor the conference in Franfurt (5-7 Nov
2001)?
Can't find any
information at there website, someone who can help me?! :o)
Regards
Johan
www.google.com
Pavel
- Original Message -
From: Ali Amirnezhad [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 20, 2001 5:47 AM
Subject: [PHP] NONE
Hi every body,
I look for some plase to find good programs for APACHE web server on
Windows, such as PHP for windows,
On Fri, 22 Jun 2001 19:52, Null wrote:
In a script I have an update query adding on to a LONGTEXT field in my
database. Strangely it will no longer work after seemingly random
string lengths. So far, one row stopped adding at 440 bytes and another
at 1049 bytes.
mysql_query(UPDATE dod_news
I am trying to set up a template for an email program below you will
see the test program the $mail_template is pulled from a database
that is pre saved when it is saved the Placeholders are filled in
using str_replace. that is what I want it to do. But it does not work. What am
I
The thing can do is as follows:
When i want check such empty boxes, i call up the $HTTP_POST_VARS just like
you. BUT what i do next ist that while listing those vars i insert an if
statement like
if (!strstr($key,checkbox_name)) {echo ($error);}
So i do a stringmatch with the key and the
Hi all,
does anybody know if it is possible to loop through all the fields in a
mailform. I want to perform the addslashes function and htmlspecialchars
function to each entered value so i can put it in my db.
Or should I make use of a standard good mailform script? and if so, does
anyone
Could you tell me which book that ist?
Maybe Title author and ISBN Number.
I would be grateful for tha tinformation, thx!
regards, Jens
on 19.06.2001 17:30 Uhr, Jay Paulson at [EMAIL PROTECTED] wrote:
Anyone know of any good books that actually deal with php interfacing with
flash 5? I've
Title: Uploading a file into a databaseideas please.
Hi all,
I have several text files that need to be uploaded each week to a mySQL db.
At the moment I'm deleting the tables via telnet then exporting them via ODBC.
I have tried uploading in the following ways.
1. Using the copy
Hy there 8)
This one is easy...
The thing IS that when you use the header statement there is absolutly NO
OUTPUt like echo(); inside the PHP-brackets allowed AND NO OUTPUT allowed
outside the PHP-Brackets, before the first header statement appears!
Not even simple linebreaks or anything!
So
it looks like you're getting your ereg and preg mixed up but try it
like this:
switch(1){
case ereg(\\.jpg$,$filename):
echo JPEG Image;break;
case ereg(\\.gif$,$filename):
echo GIF Image;break;
case ereg(\\.zip$,$filename):
echo Compressed File; break;
default:
test
-
Pas de Deux
Van Mierisstraat 25
2526 NM Den Haag
tel 070 4450855
fax 070 4450852
http://www.pdd.nl
[EMAIL PROTECTED]
-
I have come to a situation where i am having a variable inside another
variable.
for example.
$rm_$cat_adt
PHP would read this as trying to prepend the variable $cat_adt to the
variable $rm_
You seem to be trying to insert the variable $cat into the middle of a
variable.. possible, but
Don't know about Eudora, but filters in webmailers (like gmx.de) cannot
filter on CC, nor can Lotus Notes 4.x filter reliably on CC. Those are
both
products I use regularly.
Lotus Notes I beg to differ on (and now we really are a long way from PHP
discussion ;-) ).true the auto filters
generally. no its not.. IMHO its a good thing it can help make data
validation easier, as in people can't fake variables by passing them in
the URL to the processing script.
It also helps keeps thing tidy... so providing that the processing isn't
fantastically complex (in which case the
Is there anyway I can do the logout that will completely get rid of all
login detail without having user to close browser?
Jack[EMAIL PROTECTED]"Love
your enemies, it will drive them nuts"
When do you need it Jamie we are in the process of setting something up? It
is actually focused on PHP business application software but we will be
offering hosting as well.
Martin
Just a quickieDoes anyone know of any cheap but reliable (i.e. they
know
at least something about PHP)
Hi everyone,
I released a new version of PHPDoc, 2.3.5, and is a major update over
previous releases. PHPDoc can now parse multiple class definitions in a
single file. For anyone that doesnt know, PHPDoc is documenting tool, that
converts PHP code to Java syntax, and then hands that result
Hello,
I have a problem with a php script which contains an exec (identical problem
with backtics and similar operators)
some programs are simply not executed
for example, having a simple 'hello world' program in c++ will work fine,
but having a program that writes 'hello world' to a file won't
At 19.06.2001 19:04, you wrote:
I've got a client who wants to be able to export some stuff from a MySQL
database in a format that Quicken can import to print some checks. Is
this possible? From what i've seen, Quicken takes a proprietary format.
Any info would be appreciated. Thanks,
I
Hi Johan,
* Johan Holst Nielsen wrote:
Anyone know when and how you can sign up for the conference in
Franfurt (5-7 Nov 2001)?
After the program has chosen - we are currently in Call for Papers
stage, so stay tuned :-)
Can't find any information at there website, someone who
Why are attachments in POP cannot be viewed in latest IMP? but if I use
IMAP, it works just fine.
Hello list,
I am coding a search engine that allow indexing and
searching internet sites based on php/mysql.
My problm is:
How can i index a given site, I mean:
input: URL, like http://www.blabla.com/
Output: meta, body content, description that will
be stored in a tables.
thnx in
On Wed, Jun 20, 2001 at 11:04:21AM +0300, Rosen wrote:
Sorry for the stupid question, but i don't have at me a PHP manual
and I want to save some string to file from PHP.
Can someone tell me how ( with what function to do this ) ?
fopen http://www.php.net/manual/en/function.fopen.php
Hi Richard,
You are replacing the placeholders in $mail_template, but you are storing
the results in $mail_content.
$mail_content = str_replace('##fullname##',$fullname,$mail_template);
$mail_content = str_replace('##email##',$email,$mail_template);
This means that each time you call the
hello everyone, is it 'bad form' (no pun intended) to have a form point to
itself for processing, rather than forward the form variables to another
page? Anybody have any input on this? I try to have 1 page that is the
form and handles all the processing as well in order to keep the page count
I'm just starting to learn PHP and it's going to
take a while before I can create a really good
script to password protect a section of my site,
with a good admin control center to manage my
user's accounts. Therefore I'm asking for
recommendations on a good retail script that can
handle this for
Hello!
Why do I get this error (Relaying denied ) from my SMTP-server and how do I
make it work?
220 mail.server.com ESMTP Sendmail 8.9.3/8.9.3; Wed, 20 Jun 2001 15:09:06
+0200 (CEST)
250 mail.server.com Hello localhost [127.0.0.1], pleased to meet you
250 [EMAIL
Wilbert Enserink pressed the little lettered thingies in this order...
Hi all,
does anybody know if it is possible to loop through all the fields in a
mailform. I want to perform the addslashes function and htmlspecialchars
function to each entered value so i can put it in my db.
Or
Hi,
Can anyone point me to some tutorials on communicating with Java Applets
using PHP?
Hoping to hear from you.
Best Regards
Feroze
===
Jar Jar Binks will be Jedi!
Mr. Kurth,
Try this. Save the mail
template to another file [like mailtemplate.txt] then open it for
reading.
//read in template
$template =
file("mailtemplate.txt");
//setup variables
$fullname="Richard
Kurth";$email="[EMAIL PROTECTED]";$hostdomain="northwesthost.com";
Well, if you named all the fields in the HTML as follows you could use an
array_walk function to do that.
input name=mailForm[] type=text value=hi
Then you could array_walk through $mailForm and addslashes/htmlspecialchars
to it.
Chris TunkeyMicket Watford
quickly can some one tell me if time() return
server or usersystem time?
Thank You,Jon Yaggiewww.design-monster.comAnd
they were singing . . . '100 little bugs in the code100 bugs
in the codefix one bug, compile it again101 little bugs in the
code101 little bugs in the code . . .'And it
Rosen,
Depends on where you want to save the file.
To get the manual http://www.php.net/docs.php.
To Save to a file on the machine running the browser;
make a form that outputs absolutely nothing except;
header(Content-Type: application/octet-stream);
header(Content-Disposition: attachment;
I personally use it all the time in my news script that powers my page, it
is easier to use and it helps with security.
Chris TunkeyMicket Watford
TunkeyMicket Productions
www.tunkeymicket.com
- Original Message -
From: Tom Carter [EMAIL PROTECTED]
To:
change the realm
On Wed, 20 Jun 2001, Jacky wrote:
Is there anyway I can do the logout that will completely get rid of all login detail
without having user to close browser?
Jack
[EMAIL PROTECTED]
Love your enemies, it will drive them nuts
Title: Re: [PHP] logout
On 6/20/2001 6:34 PM this was written:
Is there anyway I can do the logout that will completely get rid of all login detail without having user to close browser?
What type of authentication are you using?
If it's a cookie, reset the cookie, if it's http
Is there anyway I can do the logout that will completely get rid of
all login detail without having user to close browser?
Depends on how your login system works.
--
Richard Heyes
Yes,
What I
have found out is that if you change the realm name the browser (IE and NS)
empty the cache for the current authentication and force a re-auth. We
append a time stamp to our realm, so they have 1 minute to login before it will
change again. If you combine this with sessions and
At 20.06.2001 23:34, you wrote:
Is there anyway I can do the logout that will completely get rid of all
login detail without having user to close browser?
Jack
I guess you could overwrite it with other logindetails by redirecting the
user to a webpage
that requests a username/password that is
yup, it works.
:-)
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Wilbert Enserink [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 6:17 PM
To: [EMAIL PROTECTED]
No, that's alright,
as long as you design it to switch properly, like if($HTTP_(POST|GET)_VAR)
or whatever that assures you it is to be switched.
There's basically no difference if you use the same file or several instead.
Whatever suits you better.
I do it all the time.
Sincerely,
Maxim
try to look into ini_set() (was I right naming it so?)
The function, if available for you, will allow you to override the php.ini
configurations.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original
Hey,
this has been asked here like ten times today only...
Depends, usually you should be able to. Like, set them a cookie on logout
button and, as long as they have it don't let them in.
Silly method, I know, try also deleting cookies you have just set to the
user when they logged in.
One
[EMAIL PROTECTED] wrote:
Hi Jay,
Julie Melonie participate to the redaction of a book on FLASH 5; see
infos on her website at http://www.thickbook.com you can also find there
some tutorial on the subject.
Marc
No no no -- I have not written a book that deals with PHP and Flash at
try www.zenithtech.co.uk
On Wed, 20 Jun 2001, Martin Wright wrote:
When do you need it Jamie we are in the process of setting something up? It
is actually focused on PHP business application software but we will be
offering hosting as well.
Martin
Just a quickieDoes anyone know
Hey all,
If you take a look at the link
http://www.acnshosting.com/server_test/index.php you will notice that I am
running a php script that calculates the time it takes to read the file from
the drive and parse it through apache.
However, that is all it does. What I would like to be able to
There is a setting in the php.ini file named session.use_trans_sid, which
enables appending the session ID if PHP was compiled with enable-trans-sid.
You could try setting this to 0 if you are allowed to set up an .htaccess
file on the server. Create the .htaccess file with the following line in
I'm doing some R D with PHP and OpenLDAP
I managed to get the php function ldap_add to work and I've been using PHP
to add form-submitted information to a directory.
However I decided to include another objectclass (uidObject) and now it
returns with:
error - Object class violation
Try using $PHP_SELF to get the name of the PHP script.
- Original Message -
From: Tim McGuire [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 19, 2001 11:30 AM
Subject: [PHP] List of included file names.
Hi,
I searched the archives for this.
For debugging
Tom Beidler [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I have a form with approximately 40 input fields. When a form is posted it
sends an email and then builds a tab delimited $txt entry for a text file
on
the server.
The problem is that if a checkbox
Jacky [EMAIL PROTECTED] wrote:
Is there anyway I can do the logout that will completely
get rid of all login detail without having user to close browser?
If you're using sessions session_destroy() will do it. Create a link or
form button that calls that function.
--
Steve Werby
President,
oops :) sorry... used the wrong lists
- Original Message -
From: Rasmus Lerdorf [EMAIL PROTECTED]
To: Ker Ruben Ramos [EMAIL PROTECTED]
Sent: Wednesday, June 20, 2001 10:59 PM
Subject: Re: [PHP] Attachments in POP
Why are attachments in POP cannot be viewed in latest IMP? but if I
setcookie(cookie_user,);
this will delete the cookie
- Original Message -
From: Tom Beidler [EMAIL PROTECTED]
To: php list [EMAIL PROTECTED]
Sent: Wednesday, June 20, 2001 7:20 AM
Subject: [PHP] how to delete cookies
I have a site that is password protected using PHP and MySQL. I
On a previous shopping cart, some of our fantastically complex scripts got
so big that WE couldn't follow the logic too many conditional test,
things started to conflict it was hell... so we found that it was better
to break the processing code apart from the html. but build one file
Michi,
Yours did the trick...
thank you and everyone else who contributed.
Hasan
- Original Message -
From: [EMAIL PROTECTED]
To: Hasan Niyaz [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, June 20, 2001 11:46 AM
Subject: Re: [PHP] inserting a variable into a variable
I
That poses a problem, it is easy to do for your own site
[opendir], but other sites you'd have to open the html file [fopen], search for
links, and add them to a list to spyder, grab the meta tags from the current
page, then goto the next site in the spyder list. array_push to add to the end
Richard,
The problem is with the str_replace()s. Consider the following:
?php
$myvar = 'this is a var.';
$mytext = str_replace('is', 'is not', $myvar);
?
At this point $myvar still equals 'this is a var.' but $mytext is 'this is
not a var.' $myvar hasn't been modfified by the
1 - 100 of 210 matches
Mail list logo