Hi Folks!
Is there a PHP newsgroup around? I'm not talking about the ones at
news.php.net, btw.
Or is alt.php the "official" newsgroup?
Thanks,
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepage: http://www.digitalprojects.com |
I'm not sure that your construct will work; however, you could always do
echo $HTTP_POST_VARS[$table_array[$iCnt][0]];
in place of 'echo $$var' or
$var = 'HTTP_POST_VARS';
echo ${$var}[$table_array[$iCnt][0]];
When using variable variables, the array index - here, 'ld_v
have you tried giving the absolute path to the included file?
include("/some/path/to/a/file.php");
--
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-796-9023
email: [EMAIL PROTECTED]
> -Original Message-
> From: Unni [mailto:[EMAIL PROTECTED]]
> Sent: Monday, Ju
You will need to use DHTML with javascript. Try www.docjavascript.com and
search for dhtml columns. I'm sure he has something about turning on and off
the display of items.
The basic idea is you will change the display properties from none to block
and vice-versa.
example
function show() {
rEl
Just a note about this: I am starting to play with the base64_encode
function It does indeed create a bigger string than the original, *BUT*,
I've also found that if you use the following:
$img = gzcompress(base64_encode(fread(fopen($userfile, "r"),
filesize($userfile;
your end result
the server is telling me line 43(which starts with $mp3d) is not a valid
mysql result resource. what am i doing wrong??
chris
--
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 adm
the second method should be hide()
"Dc" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> You will need to use DHTML with javascript. Try www.docjavascript.com and
> search for dhtml columns. I'm sure he has something about turning on and
off
> the display of it
Alexander Skwar <[EMAIL PROTECTED]> wrote:
> Is there a PHP newsgroup around? I'm not talking about the ones at
> news.php.net, btw.
>
> Or is alt.php the "official" newsgroup?
the only thing resembling official newsgroups are those at
news.php.net.
jim
--
PHP General Mailing List (http://ww
Hi!
I'm trying to compile PHP 4.0.6 on RedHat 6.2. Running make, I get
the errors below. Anyone got an idea about what's wrong?
Configure ran without a problem, with these options:
--enable-bcmath --enable-exif --enable-ftp--enable-dba=shared --enable-dbx
--enable-magic-quotes
That didn't work, i am on a windows machine...and this is my personal
machine, so i don't wish to change to unix... :D but windows should have
more support for this then unix..
- James "ReDucTor" Mitchell
- Original Message -
From: Matthew Loff <[EMAIL PROTECTED]>
To: 'ReDucTor' <[EMAIL
Windows Machine
- Original Message -
From: Mark Roedel <[EMAIL PROTECTED]>
To: ReDucTor <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, July 24, 2001 6:56 AM
Subject: RE: [PHP] Networking
> > -Original Message-
> > From: ReDucTor [mailto:[EMAIL PROTECTED]]
> > Sent:
I just maped a network drive, and it worked that way, so i guess i should
use system commands to map them, read them, then unmap :D
- James "ReDucTor" Mitchell
- Original Message -
From: ReDucTor <[EMAIL PROTECTED]>
To: Mark Roedel <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent:
Try:
$query = "SELECT songname FROM mp3 WHERE sgid = '" .$id."'";
an SQL query requires you to quote strings.
james
-Original Message-
From: Chris Cocuzzo [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 23, 2001 6:57 PM
To: [EMAIL PROTECTED]
Subject: [PHP]MySQL error, what's wrong here
alright, new problem, no more errors, but there's just nothing...here's the
code:
and here's what the HTML code looks like from the page when i test it out..
http://www.fplg.net/stream.php?songid=2"; class="hov1">
what's going on with that...
chris
- Original Message -
From
In your code, you have the lines:
--
while($mp3d = mysql_fetch_array($result))
{
$mp3d = mysql_fetch_array($result);
?>
--
In the while control structure, you are fetching a result into $mp3d, th
I have a potential project coming up that would require a developer
well-versed in PHP. The site is largely an information site with
some ecommerce, but there will be various extras like membership
areas, password-protected logins, and other interesting things.
If you're interested, please r
Hiya all.
Doing the usual web based mail system.
How can I check to see if a email has an attachment? Then download it if the
user clicks on it?
Preferably a class, documentation or something similar, if you have it.
Please don't link an RFC, I hate RFCs, it is like reading Aramaic upside,
Ok, since I've posted questions about this on a few occasions, I thought I'd be kind,
and share the solution I have found to creating dynamic thumbnails from images stored
within a MySQL database. For the sake of brevity, I will only show an example for
jpeg...
To begin with, add your image to
I want to highlight some keywords in a text without losing its case.
How do I do that? I have something like the following:
$keyword="something here";
ob_start("highlight_keyword");
?>
just some text
to get it to grab the text and highlight it
On Wed, 25 Jul 2001 01:53, Dan Krumlauf wrote:
> news_publish.php
> ***
> $templine = preg_replace("/()(.*?)(<\/NEWS>)/i","\\1$news\\2",
> $templine));
>
> Parse error: parse error in /php/work/boz/news_publish.php on line 8
I think you have one too many closing brackets. May I sugg
Several months ago, I made a conscious decision not to
delete what I figured was just another "junk" e-mail.
That decision has changed my life. Here you have the
very same opportunity in front of you. If you take
just five minutes to read through the following
program you won't regret it.
Go find some safe lists, not a list like this...
- Original Message -
From: Marty <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 24, 2001 11:00 AM
Subject: [PHP] The Program!
> Several months ago, I made a conscious decision not to
> delete what I figured was just an
I know this one will be an easy one ...
I'm taking in first name and last name data into a MySQL db through a form. Users
sometimes don't capitalize their first and last names when entering the data. Is
there a function to clean this up for consistency? If so, what is the name of the
functio
Chris Cocuzzo pressed the little lettered thingies in this order...
> alright, new problem, no more errors, but there's just nothing...here's the
> code:
>
> $query = "SELECT name FROM mp3 WHERE songid = '" .$id."'";
>
> http://www.fplg.net/stream.php?songid=2"; class="hov1">
>
Uhh... maybe
The function that you want is called: ucfirst()
http://www.php.net/manual/en/function.ucfirst.php
To make sure that string are consistant you might want to convert all
characters in the string to Lower case first then call this function. This
will ensure that stuff like "JoHn sMITH" gets convert
Test: Ignore, just like the subject says.
--
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]
Hi,
I'm trying to access variables coming in through a form. I have assigned them
dynamic names on the form page (e.g., $username, where username can change).
Now how can I access these variables on the next page? I tried:
$($people["username"])
where username is a field and people is a
I think ucfirst() only does the first character of the string...
ucwords() will do all the parts of the name.
The only shortcoming I've found is if people put in a middle initial and
add a period to it, or put a nickname in quotes... ucwords() skips
those.
-Original Message-
From: Ope
Hi. I have just started to play with PDFlib, but the manual and php.net
notes are not, to my simple self, particularly digestible. Does anyone have
any links to any tutorial pages or any handy hints they could point me to?
Cheers
Lee
--
PHP General Mailing List (http://www.php.net/)
To unsub
Casey,
You need to loop around on the next page to find the variables - they are all in
HTTP_POST_VARS:-
while (list($key, $val) = each($HTTP_POST_VARS)) {
print "Key = ".$key." Value = ".$val."";
}
Chris
[EMAIL PROTECTED] wrote:
> Hi,
>
> I'm trying to access variables coming in through
In the comments on the php.net pages, i found a few, but i gave up on using
pdf within php, because you had to pay about a thousand odd dollars just to
use the thing, so be prepared to put some cash in to it :D
- James "ReDucTor" Mitchell
- Original Message -
From: By Proxy <[EMAIL PROTEC
I want to set up a script that sends a bunch of emails - pauses - and
resumes until all messages are sent.
The way this will happen is that a person will create the newsletter, check
it, and then press the "Send" button which will start the process of sending
the mail in bunches. How do I get a s
On Monday 23 July 2001 19:00, Rehuel Lobato de Mesquita wrote:
> I have a mySQL table, where the ID field is an auto increment number
> (INT(2)). I have a query that selects 2 colunms in the table and the
2 digits isn't much...
> lists them
> But only the items with a double digit id are displ
maybe my sql syntax is completely wrong, but the "$id" part was a random
number i generated, and then I was saying WHERE songid(which is the database
field) is equal to $id. is that the wrong way?
the reason why it's songid in that second tag is because I wanted the
random number to indentify th
On Tue, 24 Jul 2001 14:10, Chris Cocuzzo wrote:
>
> - Original Message -
> From: Christopher Ostmo <[EMAIL PROTECTED]>
> To: Chris Cocuzzo <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Monday, July 23, 2001 10:38 PM
> Subject: Re: [PHP]MySQL error, what's wrong here..
>
> > Chris C
Hi
Just wanted to ask the gurus on the list when they think that the ISAPI
version of PHP for IIS/Windows will be stable enough for use in a production
environment. I'm doing some rough tests with ISAPI about 3-4 times faster
than CGI (which is comparable to native ASP!). Ball park figure that's
On 23-Jul-2001 Matt Greer wrote:
> I don't think that's the best subject, but I'm not really sure how to phrase
> it.
>
> I'm not familiar with php's image capabilities. I've read about them a bit,
> but never really used them.
>
> I'd like to have an image that when accessed would cause php to
Only use hide(), show(), block(), etc. if you want an "ordinary"
htmlpage to be shown. If you on the other hand want the values of form
elements to change you should do something like this:
function fillForm(){
document.form_name.txt.value = document.form_name.a_selection.value;
}
hey-
I want to select the oldest show from a database to display on my main page,
since the oldest show is also the show happening closest to any current
time(if that makes sense...). I included a timestamp field in my table of
shows in anticipation of checking that to find out what was the oldes
So sprach »PHP Junkie« am 2001-07-23 um 21:39:07 -0400 :
> I'm taking in first name and last name data into a MySQL db through a
> form. Users sometimes don't capitalize their first and last names when
> entering the data. Is there a function to clean this up for
> consistency? If so, what is th
On Tue, 24 Jul 2001 15:57, Chris Cocuzzo wrote:
> hey-
>
> I want to select the oldest show from a database to display on my main
> page, since the oldest show is also the show happening closest to any
> current time(if that makes sense...). I included a timestamp field in
> my table of shows in a
On 24-Jul-2001 Chris Cocuzzo wrote:
> hey-
>
> I want to select the oldest show from a database to display on my main page,
> since the oldest show is also the show happening closest to any current
> time(if that makes sense...). I included a timestamp field in my table of
> shows in anticipatio
A urgent question does, the follow work on sun solaris. php +
postgresql + expat + saboltron
--
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 PROTEC
Hi,
On my local test server (PHP4.0.1, FreeBSD, MySQL), when I
get a general error (bad code) it reports "error on
on line 1".
It allways says "line 1", even if it's line 4028.
I've had experience with this happening if there is a
structure problem with { brackets } missing (on any server)
101 - 144 of 144 matches
Mail list logo