Not to beat a dead horse, but...
From two separate responses:
And as for Google, I don't feel like I have time to wade through pages and
pages of irrelevant links until I find what I'm looking for when I have a
better resource right here.
I've actually learned quite a few useful things
Hi,
I am porting a vb application across to php but have come up against a small
problem. The code uses the Mod calculation however I cannot find any Mod in
php. The line of code that uses it looks like:
Data = (index Mod 16)
Anybody have any ideas how I recreate this in php? Both data and
Hello everyone,
Leave [PHP] Stop neurotic posting alone for some time and listen up, for
some reason over 90% of all posters to this list has been blacklisted by
spamcop...
I am pretty sure that not everyone (if anyone is spamming) but i think that
some son of a stinking .. has used our email
Could you explain a little better why this would make things better?
I don't understand how this would improve things.
Jim Lucas
- Original Message -
From: Curt Zirzow [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 10:28 AM
Subject: Re: [PHP] Correct Coding
*
any ideas on what we can do about it?
set the server up to change the sent from email address to
[EMAIL PROTECTED]
this'll not only stop the spambots and spam blockers picking up on
individual email address', but also means that when people reply to all,
that you don't get 2 emails in
Jack... Can you paste your code into an email and post it
-Original Message-
From: Jack [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 2:30 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP] Still can't pass variable through url
Dear all
I had set the
[snip]
This is a very busy list, over 100 message in a quiet day and most
people
are helpful and decent, don't mind reading and learning. Unfortunately
there are some who mostly post stuff like 'read the manual' and other
shit
like that. Stuffing e-mailboxes with such garbage day after day
* Thus wrote Justin French ([EMAIL PROTECTED]):
Hi,
For over a year now, I've been subscribed to this list through my main
email account. My ISP has anti-spam stuff on the server which prepends
the subject of anything it considers spam with 'SPAM: '.
As of 4am this morning (Melb,
* Thus wrote Lucas Lain ([EMAIL PROTECTED]):
Please ... put in the Subject -- [OFF-TOPIC] ... i don't want to see this stupid
discussion ...
Hardly OT IMO. It is a discussion on methodolgy of helping people,
and some good issued have been addressed, constructive and
destructive.
If the
Use a database abstraction class (ADODB, Pear, or something from
phpclasses.org). You're trying to assign a variable to a function's
actions, when you can only assign the variable to teh ooutput of the
function.
--- Micah Montoy [EMAIL PROTECTED] wrote:
I am trying to specify a single php file
Can you fake a referrer by say, using fsockopen() and sending your
own headers?
-Original Message-
From: Curt Zirzow [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 4:57 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Downloding files once
* Thus wrote Boaz Yahav ([EMAIL
--- CPT John W. Holmes [EMAIL PROTECTED] wrote:
From: Mark [EMAIL PROTECTED]
And as they say, Never argue with a fool. People will
not be able to tell the differnce.
I thought it was Never argue with an idiot. They drag you down to
their
level and beat you with experience
:)
Now
and.
Joe Harman wrote:
?php
$year=1999;
$month=march;
echo a
href=\http://www.thingamajigger.com/index.php?year=$yearmonth=$month\;
yeah this is the link/a;
?
-Original Message-
From: John Manko [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 2:47 AM
To: Martin
Hello all,
I've been doing PHP for a little while now... I am starting learn Action
Script now... and having trouble with global variables and functions...
does anyone know where I find a good list or forum for action script?
flashkit.com is pretty good. i get a lot of resources from
This _might_ be causing you problems...
$month=march;
strings should be quoted (unless you've define(march, march)'ed it...)
$month='march';
Martin
-Original Message-
From: Joe Harman [mailto:[EMAIL PROTECTED]
Sent: Friday, 8 August 2003 4:55 PM
To: [EMAIL PROTECTED]
Hello,
This is a reply to an e-mail that you wrote on Wed, 6 Aug 2003 at
15:17, lines prefixed by '' were originally written by you.
I have a database of code pages and was wondering if their is a way
to
actually run the code from the Database as if it was part of a
page.
Thanks,
Jeremy
Yep - I did with me previous email
And I guess I'll get one with this email too :/
-Original Message-
From: Joe Harman [mailto:[EMAIL PROTECTED]
Sent: Thursday, 7 August 2003 4:43 PM
To: [EMAIL PROTECTED]
Subject: [PHP] [EMAIL PROTECTED]
Hey is every one getting a returned message from
Shell side:
- must be readable and executable by user (apache or perhaps everyone)
- suid bit work only for programs, not scripts I think
- shell can only execute cmds for which it's effective user has
sufficient permissions
Try this (as root on webserver), if you can login as apache.
Hi,
I've recently upgraded my webserver for apache 2.0.47 with php 4.3.2 on a
solaris 9 box
My problem is... the buttons on the php pages don't work and I can't figure
why this is happening...
Apache compiled like:
./configure --prefix=/opt/apache
Ooops. Can't believe I overlooked that. Thanks everyone for your input.
Its up and running now.
- Original Message -
From: Mark [EMAIL PROTECTED]
To: Micah Montoy [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 2:36 PM
Subject: Re: [PHP] setting function variables
passwords can be kept encrypted with mod_auth with no problem.
-Original Message-
From: Manuel Lemos [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 8:04 PM
To: Boaz Yahav
Cc: [EMAIL PROTECTED]; Igal Rubinstein; Matt Wade
Subject: Re: Downloding files once
Hello,
On
[snip]
Does anyone know if there is a way to generate a thumbnail of the 1st
page
of a PDF document using PHP. I have an application that archives PDF
files,
beeing able to generate small preview images of the documents would be
really cool :)
[/snip]
This may be just what you are looking for
Jeff [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Why would a mysql db think that 55 was greater than 14000.
I have several headings that display sql data under them, when you click
on
the heading, it sorts that section (descending/ascending), but it only
seems
to be looking at
Hello,
Trying to prevent the output dumping of passthru() and instead store the
output in a variable.
I read an article that suggested this:
ob_start();
passthru(command);
$output = ob_get_contents();
ob_end_clean();
But that didn't work. Is there *ANY* way to achieve what I want?
Thanks,
Indeed it is a hack, but not for PHP 5, the extension has become part of
the core, and does not require that odd little overload() call :)
Greg
Jean-Christian Imbeault wrote:
Greg Beaver wrote:
This statement isn't entirely correct, overloading is possible with the
overload extension.
Did it. Same error. =(
Jay Blanchard wrote:
[snip]
configure: error: Fdftk.h not found, please install it again.
[/snip]
I am proud of you! Now type locate fdftk.h When you locate it move it
to /usr/local and go again
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I am using php mail and setting all my $headers info to show From:, To:,
etc.
It work perfectly on my computer. I use MS Outlook.
I am doing this for a client who received his email via his aol account.
When he receives the email, the email comes in with Unknown Sender.
Is there issues with this?
You can get referrer information from the following:
$_SERVER['HTTP_REFERER']
This isn't foolproof though since the user can usually set in their
browser whether to have this information sent.
Cheers,
Rob.
On Thu, 2003-08-07 at 11:59, Creative Solutions New Media wrote:
Hello,
Bit of a
Dear PHP Contributors,
I am studying for a Master's degree with Henley Management College in
the UK, and in the past have used a variety of Open Source Software.
As part of my course I am conducting a survey in an attempt to identify
the critical success factors for Open Source projects. If you
www.crimsoneditor.com
A great, free editor for windows with syntax highlighting for many
languages, php included.
-Original Message-
From: rush [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 12:58 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: suggestion on php-editor?
Louie
On 08 August 2003 17:39, Dan Joseph wrote:
Hi,
In a nutshell, what I want to do is chop off the front and the
back. Example:
I have: 1234567890
I want: 456
I have a start num and an end num. start = 123, end = 7890.
This is working fine as I have it above,
The Hungarian notation was developed by a Hungarian programmer from
microsoft.
I use hungarian notation in visual c++ but in php ???
If you have more information search in http://msdn.microsoft.com have
examples and the complete and protability list, to other langauages such vb
Un saludo, Danny
Jeremy Darling wrote:
This is driving me nuts. I know it can be done, cuz I've seen it done
before, but I can't figure it out.
I would like to have a php file that allows me to edit an HTML/PHP file thru
my browser.
Currently I have something that looks like:
TextArea
?PHP
$filename =
Hello,
I'm working on an ongoing project that depends on a shared webserver running
an old version of PHP (4.1.2 I believe). Is there any good reason to stick
with an older version of PHP, or might it be a valid suggestion to have it
upgraded to something a bit more recent? I have a notion that
Jay Blanchard mailto:[EMAIL PROTECTED]
on Thursday, August 07, 2003 9:25 AM said:
LOL Maybe we shoud start requiring tips!
ARRGGH!
NO!!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all.
I was wondering anyone had heard any issues regarding mcrypt Blowfish
encryption and Chilcat??
I presently have a system with a server implemented in php using
mcrypt-2.4.x and clients who interact with it sending and receiving blowfish
encrypted data. I am unable to touch the clients
Thanks, but I guess I forgot to mention it should be web-interface...
http://passwordms.sourceforge.net/index.php
For anyone wanting to look.
-Original Message-
Try PMS: Password Management System. I believe it can be found on
sourceforge.
--
PHP General Mailing List
Miles Thompson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Yes, I'm top posting, pls forgive.
This is a situation where an editor which has built-in brace matching
really helps - if in the midst of looking one remembers to use it.
Another tip, although it probably wouldn't help
Mark wrote:
$query_Recordset1 = sprintf(SELECT * FROM sti_tracking ORDER BY %s
%s,$reSort_Recordset1,$direction_Recordset1);
I'm curious. Is there an advantage to using the above format, rather
than
$query_Recordset1 = SELECT * FROM sti_tracking ORDER BY
$reSort_Recordset1
At 07:57 PM 8/7/2003 -0500, php list wrote:
I am using php mail and setting all my $headers info to show From:, To:,
etc.
It work perfectly on my computer. I use MS Outlook.
I am doing this for a client who received his email via his aol account.
When he receives the email, the email comes in with
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] says...
Shell side:
- must be readable and executable by user (apache or perhaps everyone)
- suid bit work only for programs, not scripts I think
- shell can only execute cmds for which it's effective user has
sufficient permissions
Sorry, in terms of PHP error no. I get a page cannot be displayed/DNS
error.
It happens instantly...in fact, not 1 line of script exe.
Jeff Held
Jay Blanchard [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Thanks!
Yes. PHP versions differnt. Ini's Diffiernt, don't want to to match those.
I assmue the reason is because of a differnt ini setting...I just can't find
it.
I looked for a setting that may set a limit but didn't find any.
Jeff
Jay Blanchard [EMAIL PROTECTED] wrote in message
Thanks for the tips. I did look into this webpage just the same one as you
provided in the link before I post a message in this newsgroup. That
webpage said, ascii2ebcdic() is an Apache-specific function which is
available only on EBCDIC based operating systems (OS/390, BS2000). Problem
is I
Long description, so I'm not sure exactly what you're doing, so I'll restate my
understanding.
You have a frameset with multiple pages. Pages are called via PHP. Each page
may be the same but may need to highlight a different name. You want to
highlight using CSS and IDs.
At heart, here's my
John, et al --
...and then David T-G said...
%
...
% Does that show up in phpinfo() output?
Well, apparently so, and apparently it is. I specifically called phpinfo()
from the require()d file to make sure I'd pick up the value at the time
rather than just what's in php.ini and it seems that's
Do you happen to know where I can find some examples or sample code for
these? The exec function on php.net didn't go into much detail about
extraction from compressed files. Anyone know of any good references?
Thanks,
Matt
-Original Message-
From: Jason Sheets [mailto:[EMAIL
Well,if so,why ?php require 'inc2.php';? works?
I didn't change the default include_path.Sure that '/inc' isn't in the
include_path.But it just works.
You see,the include_path .:/usr/local/lib/php refers to the current
dirctory where the file locates and the PEAR directory.The focus is
YEPPERS.. You're right
-Original Message-
From: Martin Towell [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 2:59 AM
To: 'Joe Harman'; [EMAIL PROTECTED]
Subject: RE: [PHP] Still can't pass variable through url
This _might_ be causing you problems...
nc01.php from demo.php: ok in root/./inc01.php
Indeed, the PHP doc should be updated on that point.
I do agree with you, after struggling a while for the
same kind of problem :-)
But I've got all explanations below.
Nicholas Robinson wrote:
The directory structure is as follows:
|-- demo.php
|--
Is there a way to read excel files for parsing with PHP?
I see there is a PEAR package for writing excel files, but I want to be able
to parse .xls files.
(Please no comments about comma-delimited or tab-delimited exports, I am doing
that too).
Thanks in advance,
-Jackson
--
PHP General
Is it realy so? I remember someone noting on this list it also work if
short tags are off.
I have never tested it and I'm not going to restart our server now, but
I will try it at home.
John W. Holmes wrote:
AciD wrote:
just a little point; u can replace
?echo $search_result2[a.retired_flag]?
* Thus wrote Ford, Mike [LSS] ([EMAIL PROTECTED]):
(There are also words in English derived from Greek which have singular ending -on
and plural ending -a -- notably criterion/criteria. Microsoft doesn't understand
this, and gets it tooth-jarringly wrong all over Excel and
Try getting rid of the quotes around $this-startElement, or changing them to
double quotes.
If you don't understand why, php.net/language.types.string should make for an
exhilarating read :)
On Thursday 07 August 2003 12:40 pm, Donald Tyler wrote:
Hi,
I am trying to create a Class that
[snip]
For me this is a very intelligent question (and advanced too) because I
have no idea of linux or compilers. (or as a metter of fact, what is a
.h file).
[/snip]
You'll note that the library file began with lib. The files are C or
C++ files witha .h being a header file for the compiler.
Thanks everybody!
Looks like I was just thinking about the problem too hard.
Thaddeus
John W. Holmes wrote:
Thaddeus J. Quintin wrote:
CPT John W. Holmes wrote:
--SNIP--
Try this:
textarea name=textThis is lt;somegt; text/textarea
If you submit that text and then print
silly me
upon further looking
INPUT TYPE=checkbox NAME=? echo $search_result2['user_cd'];?
VALUE=? echo $search_result2[a.retired_flag];?
?if ($search_result2[a.retired_flag] == 1) echo CHECKED; ?
?echo $search_result2[a.retired_flag]?
- Original Message -
From: Amanda McComb [EMAIL
the whole idea of passthru is to output the stdout
i'd use exec and the stdout is stored as an array
Hello,
Trying to prevent the output dumping of passthru() and instead store
the output in a variable.
I read an article that suggested this:
ob_start();
passthru(command);
$output =
On Fri, 8 Aug 2003 14:30:22 +0800
Jack [EMAIL PROTECTED] wrote:
Dear all
I had set the register_global=on and magic_quotes_runtime=off
already,
You don't need register_global=on for this, use
$year = $_GET['year'];
$month = $_GET['month'];
...and you want to try
I use dreamweaver in live data mode quite often, really works a treat!
Set up a a site and in the testing server, just set it as /beta or the like,
then edit your script, and run it in live data and you can feed it
post/get/cookie data on the fly.
Jay Blanchard [EMAIL PROTECTED] wrote in message
[...]
when i click my hyperlink page.php?year=$year?month=$month, it
[...]
if the same case apply to php4.04, then there is
no problem at all!
It's rather a mysterium why it worked at all. How did you
manage to get this working on php4.04? (It should not work!)
--
PHP General Mailing List
61 matches
Mail list logo