Hi list!
Something I use quite often when programming in ASP is the
Server.MapPath method. This method expects a virtual path (on the web
server) and returns the corresponding psysical path. I haven't seen this
anywhere in PHP, so I've hacked my own little routine to do this (see
below). But
Oh don't worry about this... I've already found the mistake...
> Thanks to those who helped me last time about creating image, but now
there
> is another problem...
> I'm making a thumblain like this:
>
> $base_size = 300;
>
> $size = GetImageSize($image1);
> $kof =
hi!
i have a problem in my project.the problem is that
suppose we have the date for the whole of the month
and two different files r there.
i have to pick one file of the current date that is
say today and the other file of the yesterday.but the
problem is that if the current date is monday then t
> Not sure why this isn't working, any help is appreciated. I
> am trying to
> read the files in a directory and place them into an array.
> Here is the
> code:
>
> /* Function to create array of directory contents */
> function dCNTS($files) {
> $dir = opendir("/path/to/directory/");
> wh
or ...
while($new = substr($old, $i++ * $strlen, $strlen)) $array[] = $new;
Tim Ward
www.chessish.com
> -Original Message-
> From: Richard Baskett [mailto:[EMAIL PROTECTED]]
> Sent: 31 July 2002 20:47
> To: Randy Johnson; PHP General
> Subject: Re: [PHP] String Question
I don't store anything in date format (eg -MM-DD)... I store them as a
unix time stamp -- see time() in the manual.
Then it would be pretty easy to get today's stamp using time(), then look
for the two files preceeding that stamp, (ORDER BY in SQL) which would
presumably be today's file/row,
Yes I always arguing that its better to store date as an ordinary int
"Justin French" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I don't store anything in date format (eg -MM-DD)... I store them as a
> unix time stamp -- see time() in the manual.
>
> T
Hi there,
I am having trouble to install pear. This seems to be needed by a webmailer
called horde. somehow the pear comming with php4.2.2 does not contain a
certain log class. Here is what the faq says about this problem:
http://horde.org/faq/admin/trouble/index.php#t51
5.1.21 "Fatal error: Undef
Its hard to imagine anything better and clear than what print_r() or even
var_dump() outputs...
"Marty McGowan" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> PHPers,
> In a genaology application, where I add individuals to
> an array:
>
> $everyone[] = new I
Anyone else having trouble getting to http://bugs.php.net ???
==
Richard Black
Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 435 3504
Email: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubs
> I have a bad experience coding in PHP. I create a home page in PHP,
> index.php. Within this PHP code, it calls functions which are placed in
> other file. I notice that the page title changes to something
> that I don't
> want it to be.
This is probably an HTML problem, not a PHP problem.
I am creating an application where it would be useful to write and store
script in a field in a MySQL database and create a loop to process the array
of the code contained in the field. Conceptually, I think it sounds
reasonable but I am uncertain of what kind of process I could use to have
the c
> I suppose include() can be used to include files from remote
> systems(not on
> WINDOWS).
Only if the sysadmin running your web server allows it, which they should
not.
> A webmaster on the same server can always use a path like
> "/home/htdocs/.../config.php" and include my config .php which
> > I suppose include() can be used to include files from remote
> > systems(not on
> > WINDOWS).
>
> Only if the sysadmin running your web server allows it, which they should
> not.
>
>
> > A webmaster on the same server can always use a path like
> > "/home/htdocs/.../config.php" and include my
> "Other users on the same server *shouldn't* be able to include() in this
way"
>
> How?
>
> Would their $_SERVER['HTTP_HOST'] not be the same?
You did not specify your circumstances in your original posting, so there is
some confusion.
One web server can handle many domains. An ISP offering s
I'm pretty sure you can use eval() on a string, but tread with caution, and
try to look around for security concerns.
I certainly wouldn't eval() anything supplied by a user... no way.
Justin French
on 01/08/02 7:53 PM, David Pratt ([EMAIL PROTECTED]) wrote:
> I am creating an application wh
I agree with Justin!
Probably your best solution is to write your own mini script and write an
interpreter for it!
Elias
"Justin French" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm pretty sure you can use eval() on a string, but tread with caution,
and
I think that you have something like this:
$HTTP_SERVER_VARS['SCRIPT_NAME] == '\foo\bar.php'
$HTTP_SERVER_VARS["SCRIPT_FILENAME"] ==
'c:\wwwroot\foo\bar.php'
and you want to use this to derive the root 'c:\wwwroot'.
You can use one of the standard string edit functions. Something like t
see: http://lgwm.org/trap.htm
try to use the same mechanism.
Elias
"Petre" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> HI
> Is there a way I can disable the client's browser back button, forcing
> them to use the navigation I built into the page?
> Ideally
try str_replace()
or preg_replace()
Elias,
"Nick Wilson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi everyone,
>
> I break out in a cold sweat just thinking about regex, so I thought I'd
> ask you if t
vBulletin has a file called ticker.php that allows users to have latest
posts sent to their toolbar in Windows. An example can be found on this
site: http://www.whitesoxinteractive.com/Ticker.htm
How exactly do they do this? I can't manage to get my hands on the file to
take a look but it's somet
Jason Wong wrote:
> On Wednesday 31 July 2002 22:40, Paul Dionne wrote:
>>
>> I have a class in my script which has information on specific tables such
>> as standard queries, tablenames, Index field...
>>
>> Then there is a function called StandardDropDown($ItemNum, $Name) which
>> gets the info
It just pulls up a PHP page...what's the big deal? Make up a PHP page that
pulls the newest post out, displays it, and refreshes itself ever minute or
so... It looks extremely annoying to me. Why would to want that on your
toolbar? Just open up IE with the same page.
---John Holmes...
-
Help still needed.
I just went back to the code and looked. Making $ItemNum does not make a
difference. And the object which is passed to it is part of the class
which is global anyway.
Paul
Paul Dionne wrote:
> Hello everyone,
>
> I have a class in my script which has information on spec
Hi,
does anyone know of an elegant way to get the Url of the current frame
in a php variable.
Thanks for any suggestions.
Patrick
PS I know that PHP_SELF will provide the url of the main frame
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.
Well, Just make a PHP page that shows what you want. Use a META-REFRESH tag
to have it refresh itself every 60 seconds (I'm assuming that'll work in the
"toolbar"). I'm not sure of the specifics for vBulletin, but the database
structure isn't that difficult. Just pull use LIMIT to pull out the lat
the only way would be with javascript, but remember, this would be done
AFTER the page leaves the server (client side), so it will be quite messy.
or you could try keeping track of what the sub-frame is doing with
sessions... each time you change it's URL, update the session variable.
or you cou
I would like to include a style sheet based on the url;
the references to the style sheet are stored in MySQL.
I guess the way to code this would be to use php to create
the javascript code with the list of style sheets.
thanks,
patrick
Justin French wrote:
> the only way would be with java
I think something is wrong with the way I am calling ldap_modify, but I'm
not sure exactly what, from the scripts and tutorials I've been looking
at/experimenting with:
$ds=ldap_connect("online-leagues.com");
if ($ds) {
$r=ldap_bind($ds, 'username', 'password');
I think your problem is that you are passing the output of
ldap_get_entries() directly back into ldap_modify(). ldap_get_entries()
returns an array of result elements whereas ldap_modify() is expecting a
single element.
So, to change the 'st' attribute for the uid=testing record, you should
simp
On Thursday 01 August 2002 20:21, Paul Dionne wrote:
> Help still needed.
>
> I just went back to the code and looked. Making $ItemNum does not make a
> difference. And the object which is passed to it is part of the class
> which is global anyway.
Use print_r() or var_dump() on $ItemNum outsid
Hello,
I have to use a COM object with following properties:
...
Property StationsX(lIndex As Long) As Long
Property StationsY(lIndex As Long) As Long
...
I didn't manage to initialize these properties.
I create a new COM object with:
$obj = new COM("");
If I try
$obj->
Also tried that, no success, unless I am missing something.
...
$info["st"]="stchanged!";
...
ldap_modify($ds, 'uid=testing,cn=online-leagues.com', $info);
Fatal error: LDAP: Unknown Attribute in the data in
/usr/local/www/sites/online-leagues.com/htdocs/ldapform
Hello $PHP_AUTH_USER.";
echo "Your password is $PHP_AUTH_PW.";
echo "";
}
?>
Ray Todd Stevens wrote:
>
> I am working on a web site that is using php controled www-
> authenticate authentication. User ids are specific to users and
> different pages and different levels of information
Hi there,
I am trying to install PEAR. Horde - a webmailer - requires a certain log
modul which seams not to come with the recent php installation. I installed
a second php version as standalone php version to be able to install the
pear class like stated on the php.net site. However I do still g
hi,
how can i sort data from mysql into two columns. Thanks.
eg:
link1linka
link linke
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi...
I'm working on XML files where are stored in a MySQL database. With PHP I
intend to transform these XML with XSLT. After much difficulty, I managed to
sort out everything until the portion about xslt_process. The browser
returns:
Warning: Sablotron error on line 2: 'arg:/argument.dtd' not
Hello,
I have just finished re-compile and re-install apache 1.3.26, php 4.2.2,
openssl 0.9.6d and mod_ssl...
But when I start the apache by running :
apachectl startssl
php and https can't for work with apache, then I check the file "httpd.conf" :
I found :
LoadModule ssl_module libexe
Not sure if this is a PHP question but I've traced the problem to a PHP
statement.
I have a form that when submitted, displays a PDF document in the browser
(using a PDF library). When I click on the back button, it should redisplay
my form but instead, displays a warning that data has expired a
This is generally caused by using POST as the form's methods. Try using GET
instead.
Danny.
- Original Message -
From: "DonPro" <[EMAIL PROTECTED]>
To: "php list" <[EMAIL PROTECTED]>
Sent: Thursday, August 01, 2002 3:57 PM
Subject: [PHP] Form asking to refresh when I hit the back button
What does it mean when PHP forces the session ID into the URL, the host
changed something in the configuration without informing me it would
seem, (it dind't happen before now does)
R>
--__-__-__
eat pasta
type fasta
--
PHP General Mailing List (http:
I looked in the predefined variable section of the manual and
couldn't find that there was a way to get this information from
that. If there was another way you could get this via PHP, I
couldn't find it anywhere else in the docs.
So, does anyone know of a good method to get the Time Zone
local
>A'la ASP WebServices perhaps?
>
>"Bob Lockie" <[EMAIL PROTECTED]> wrote in message
>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>>
>> >I'd like to know if it's possible to use PHP to develop and implement
>> >Web Services. If so, please point me to sites, articles, or tutorials
>> >that discuss
This is a part of my code for my data interfacer class which takes an SQL
RESULT RESOURCE and gets the field from it. Problem is, i can't get the
primary key out nor the auto-increment flag out. Before, the same script (or
so, it was modified but not that part) was working fine. I tried it on
seve
OK, changed the subject to what I think it should be about.
Anybody?
"Shew" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi - I'm a TOTAL php NEWBIE - my 1st bit of code!!!.
>
> Basically the input form page has 17 sets of radio buttons, each
> representing
test
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am looking into different password encryption solutions.
i started using crypt()
then changed to mcrypt()
which was not any good cause of the high ascii characters
then i read about converting the high ascii characters to hex .
Is this the ideal way to encrypt passwords or is their somethin
I think he means XML WebServices (probably using SOAP)
It's not too difficult, there are a few SOAP classes for PHP now, simply
send your SOAP encoded request to the server, via HTTP, and decode the SOAP
response that you get back.
There's also a SOAP module for PHP (alpha release atm) at
http:/
Just base64 encode the mcrypt output if the non printable chars bother you,
though I don't really see what the problem is, unless you're pushing the
output to a web page.
Danny.
- Original Message -
From: "Randy Johnson" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, August
read this site
http://vulcanonet.com/soft/index.php?pack=pear_tut#ss2
the best pear tutorial to get me going
prob try and install via cvs , thats the whole lot though, but it works ,
also search http://pear.php.net for the package and then copy it to that dir
also make sure the include dir to
Good day,
> i started using crypt()
>
> then changed to mcrypt()
>
> which was not any good cause of the high ascii characters
>
> then i read about converting the high ascii characters to hex .
>
> Is this the ideal way to encrypt passwords or is their
> something better.
The crypt() funct
It looks like your code could use "variable variables" to help you out.
::: OLD CODE
> > for ($GameIdx = 1; $GameIdx <= 17; $GameIdx++) {
> > /* instead "hardcoding each radio button name - just do it
> programmatically
> > by concatenating / creating the name */
> > $
If you made an array for your buttons, then you could use PHP's looping
constructs to process the array. Write the input tag like this:
Chicago
The processing code will then have access to the array $Game indexed by the
game number, e.g., $Game[1].
Good luck!
Kirk
> -Original Message
I found that the some of the high ascii characters would not store right in
the database or something cause when i went to compare them, the comparison
would fail.
Randy
- Original Message -
From: "Danny Shepherd" <[EMAIL PROTECTED]>
To: "Randy Johnson" <[EMAIL PROTECTED]>
Cc: <[EMAIL P
Anyone know the workaround with the situation here? Here is the sample
script. The problem is I include the XML tag into the PHP variable and it
messed up everything. It all had to do with "?" here since PHP use it also.
--clip--
Apple";
echo $XML;
?>
Thanks,
FletchSOD
--
PHP General Mai
Try:
Apple";
echo $XML;
?>
HTH
Danny.
- Original Message -
From: "Scott Fletcher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 01, 2002 5:03 PM
Subject: [PHP] Problem with "" inside the PHP code, due to "?"
> Anyone know the workaround with the situation here?
Apple";
echo $XML;
?>
Try this?
Matt Babineau
MCWD / CCFD
-
e: [EMAIL PROTECTED]
p: 603.943.4237
w: http://www.criticalcode.com
PO BOX 601
Manchester, NH 03105
-Original Message-
From: Scott Fletcher [mailto:[EMAIL PROTECTED]]
Sent: Thursday, Au
> how can i sort data from mysql into two columns. Thanks.
>
> eg:
>
> link1linka
> link linke
Do you mean how can you get MySQL to present the data in sorted order or how
can you get the browser to display the results in neat columns?
Depending upon the question, you either want
> $XML = "Apple";
> echo $XML;
> ?>
>
Not sure if this is the best way, but it worked for me:
$XML = "<"."?xml version='1.0'
encoding='UTF-8'?".">Apple";
Hope this helps,
Mark
Mark Middleton
Whirled Web
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Try setting the database field type to 'BLOB'
Danny.
- Original Message -
From: "Randy Johnson" <[EMAIL PROTECTED]>
To: "Danny Shepherd" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, August 01, 2002 4:51 PM
Subject: Re: [PHP] mcrypt
> I found that the some of the high asc
Is it possible to set register_globals to off in the .htaccess file. If so
how do I do that?
.: B i g D o g :.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--snip--
> If you run your own server, you can set it up so that each webmaster is
> locked into a private environment, but it's messy. According to me, you
> would need a separate copy of apache for each site, each running under a
> different user, and they would need to run on separate ports, w
Hi,
Friday, August 2, 2002, 2:03:18 AM, you wrote:
SF> Anyone know the workaround with the situation here? Here is the sample
SF> script. The problem is I include the XML tag into the PHP variable and it
SF> messed up everything. It all had to do with "?" here since PHP use it also.
SF> --cli
I think it is something like - can't remember if it's an underscore or
dash between the 'php' and 'flag'
php-flag register_globals off
HTH,
Nicole
B i g D o g wrote:
>Is it possible to set register_globals to off in the .htaccess file. If so
>how do I do that?
>
>
>.: B i g D o g :.
>
>
>
>
heres how i do it
$xml .= "\n";
"Tom Rogers" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> Friday, August 2, 2002, 2:03:18 AM, you wrote:
> SF> Anyone know the workaround with the situation here? Here is the
sample
> SF> script. The problem is I inc
I have a login page using sessions the old way. I have switched it to using
$_SESSION['valid_user']and was wondering how to switch this (below) part of
my code. In the if statement I am checking to see if the session is
registered, but using $_SESSION[''] I do not understand how to do this or
it's php_flag register_globals off -- you can either place this within
your tags in your httpd .conf file or in an htaccess file --
for more info see http://www.php.net/manual/en/configuration.php#AEN2390
best,
Nicole
Nicole Lallande wrote:
> I think it is something like - can't remember if
php_value register_globals "0"
B i g D o g wrote:
> **
> This Message Was Virus Checked With : SAVI 3.59 May 2002
> Last Updated 8th July 2002
> **
>
>
I am trying to create a php page that will show the files on an apache server.
Each file will show up as a link on the page. When clicked, the user will be
able to download the file. Is there anyone out there that can lead me in the
right direction.
--
PHP General Mailing List (http://www.php.n
Thank you all for the feedback! I was trying to say the problem lie with
the "?", not with the quote or double quote. Because PHP use " wrote in message
019701c23974$f29b78a0$0100a8c0@developerx">news:019701c23974$f29b78a0$0100a8c0@developerx...
> $XML = "<\?xml version='1.0'
> encoding='UTF-8'
Thanx, I havent tried the loop yet, but the color will work im sure .
"Aaron Ott" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> tony,
>
> regarding problem one, it looks like there is a problem in the code near:
> for ($g = 0; $g < $num_lyrics; $g ++) {
>
> t
You could try using the readdir function to read a list of files (full docs
available from http://www.php.net/manual/en/function.readdir.php)
Here is an expanded version of the example give on the above link.
File List
$file";
}
closedir($handle);
}
?>
This example assumes that the
This will read all '.pdf' files in a sub-directory and put them in a link -
HTH,
Nicole
$dir.");
while($entry = readdir($dir_stream)) {
// get the file extention
$ext = substr($entry, strrpos($entry,'.'));
John Williams wrote:
>I'm having a problem getting the mail() function working on php 4.2.2.
>
>I get the error message:
>Warning: mail() is not supported in this PHP build
>
>I'm running Solaris 8 and have set the symlink for sendmail. I have
>recompiled PHP, set the php.ini to point to sendmai
For all those interested - http://www.pleskina.com/dphped
In newest version (0.9.2.4):
a. You can now add multiple files to projects using Drag&Drop!
b. Internal previewer enhanced
c. BUG corrected on previewing single files
Thanks everybody for suggestions and support!
___
link1linka
linklinke
I suppose an example of the sql query you attempting to use and perhaps an
idea of how your db is structured would help a little.. ;-)
> -Original Message-
> From: kompresor [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 01, 2002 10:23 AM
> To: [EMAIL PR
I am working on a project that requires me to access a web service over
https.
I was wondering if anyone has any luck getting this class to work over https
or if anyone knows of a soap client class that supports https??
thanks,
Anson Smith
The class I am referring to in the original message is nuSphere's nuSoap
class which works great over http by the way.
---Original Message---
From: Anson Smith
Date: Thursday, August 01, 2002 12:38:47 PM
To: [EMAIL PROTECTED]
Subject: [PHP] SOAP client class that supports https???
On Thursday 01 August 2002 23:10, Chris Boget wrote:
> I looked in the predefined variable section of the manual and
> couldn't find that there was a way to get this information from
> that. If there was another way you could get this via PHP, I
> couldn't find it anywhere else in the docs.
> So,
http://www.php.net/manual/en/ref.session.php
php.net is rather interesting, in which you can do something like type
in "php.net/" or "php.net/" and get the manual page
for it...
C> I want to ask user to login, and use cookie to save their userid and
C> password
C> what should i do?
--
PHP Ge
Shane,
You haven't told us what the problem is, only that you're having trouble
making it work. How is it not working? One other question: I have to
assume that the script is running on a different server than the one
your are trying to write to (otherwise, why use ftp?) - are you sure
that the ft
I've looked, and can not find out how you send attachments using the mail()
function. I find it difficult to believe that this was left out, so
obviously I'm missing something right in front of my face.
So my question is, how do you send attachments using the mail() fucntion?
-Danny
"You are
You can't (in the sense that there's an $attachment argument), but I've
seen several classes that will let you do it. Check zend.com and
php.resourceindex.com for the classes.
On Thu, 1 Aug 2002, Danny wall wrote:
> I've looked, and can not find out how you send attachments using the mail()
> f
I'm trying to make a small script that I can use for randomizing teams and
stuff, I have one field where I enter how many teams, one for how many in
each team, and a to write down all the players in. This is where
my brain stopped working, first I was thinking about using split, but I
don't know
check chmods, if the directory where you're saving the $fd2 is not 777
then it wont write, keep in mind it's a security issue however, use /tmp
or instead of indicating paths in the file itself have include("file with
the path to the dir") instead and put that .inc file off the reach of
apache
split should work fine... Just do something like:
$teamMembersArray = split(" ,;", $textarea);
That will give you an array of the team members. Of course I'm assuming
that their names don't include spaces and that you'll separate them with
either a space, comma, or semi-colon. And you'll want
At 08:19 PM 8/1/2002 +0200, Hawk wrote:
try using explode
then walk through the array that explode makes :-)
does that help?
~kurth
>I'm trying to make a small script that I can use for randomizing teams and
>stuff, I have one field where I enter how many teams, one for how many in
>each team,
New To Php so please bear with me... :)
I used the readdir function to read the files listed on a Apache server. And
it worked fine. Now I would like to be able to get the files the php code
returns, to be links. Where the user can click the file and download it. Also
for the files to sit within
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 01, 2002 2:54 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Readdir
>
> New To Php so please bear with me... :)
>
> I used the readdir function to read the files listed on a
> Apache server. And
> it worked fine. Now I
Change:
echo "$file\n";
to:
echo "$file\n";
Note the nested quotes -- outer quotes - ", inner quotes (around $file)
single - '
Best,
Nicole
[EMAIL PROTECTED] wrote:
>New To Php so please bear with me... :)
>
>I used the readdir function to read the files listed on a Apache server. And
>it
Is there some easy way to make rand() only use each number once in a loop,
to avoid getting the same values more than once?
HÃ¥kan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Friday 02 August 2002 02:53, [EMAIL PROTECTED] wrote:
> New To Php so please bear with me... :)
>
> I used the readdir function to read the files listed on a Apache server.
> And it worked fine.
> http://www.optimus7.com/findme.php is the result I get from the php
> code below. Help!
>
> if
OK, the color works, but now I have 2 empty lines
"Tony Harrison" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Thanx, I havent tried the loop yet, but the color will work im sure .
>
> "Aaron Ott" <[EMAIL PROTECTED]> wrote in message
> [E
Shouldnt there be some sort of MIME header for it?
"Philip Hallstrom" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> You can't (in the sense that there's an $attachment argument), but I've
> seen several classes that will let you do it. Check zend.com and
> p
No... that wouldn't really be random then would it? :) But you could
always keep track of the previous random numbers and if you've seen it ask
for another one.
On Thu, 1 Aug 2002, Hawk wrote:
> Is there some easy way to make rand() only use each number once in a loop,
> to avoid getting the sa
I am trying to get code that I have saved as a string in a database to
evaluate as code within a larger script with a loop. There are obvious
security concerns with allowing users to input code into the field if it is
not preprocessed before it is evaluated. The eval function appears to be the
t
Hi,
I'd like to register a session and create several session variables. In
another part of my site, I'd like to register another session again creating
session variables. After a bit, I'd like to destroy this second registered
session keeping the first intact. Thus far, whenever I issue:
ses
What is the purpose of using the for loop? if I may make a suggestion for
using the while loop. The code would look something like this:
$lyric_array[1]";
echo "$lyric_array[3]";
echo "$num_comments";
echo "$lyric_array[2]";
echo "Buy at Amazon.com";
$ltotalv = $ltotalv + $
If anyone responds to this thanks a lot because this is a lot to ask. I've
never coded anything for a paying customer.
I'll be using Apache, MySQL and php of course.
Or... how about this application already exists somewhere??
Requirements/Design
---
1. Any page requiring authen
Ah ... well that's good. I thought I was just being an idiot. Thanks for
the resources, a couple of the classes will do the job nicely.
-Danny
>From: Philip Hallstrom <[EMAIL PROTECTED]>
>To: Danny wall <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: [PHP] Re: attachements in mail()
>Da
1 - 100 of 150 matches
Mail list logo