hey..
does anyone know of any good classes / functions for handling mime emails? i
am writing a mail checker, and was wondering if there are any pre-written
mime email handling classes out there...
thanks!
Regards,
Kunal Jhunjhunwala
"Minds think with ideas, not information. No amount of data, ba
I have this really cool script that grabs image data stored in a mysql
bin field and echo's the data into an image file.
01: /* QUERY DB AND LOAD IMAGE DATA */
02: /* must get values for ImgType and ThmData */
03: $Results = mysql_query($Query, $Link)
04: or die ("SL3-".mysql_errno().": "
http://php.resourceindex.com/detail/00896.html
GOOGLE is the ultimate programmers tool.
And i used this some time ago... :)
> -Original Message-
> From: Kunal Jhunjhunwala [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 08, 2002 9:23 AM
> To: php-list
> Subject: [PHP] mime emails
>
On Friday 08 February 2002 16:26, phantom wrote:
> I have this really cool script that grabs image data stored in a mysql
> bin field and echo's the data into an image file.
>
> 01: /* QUERY DB AND LOAD IMAGE DATA */
> 02: /* must get values for ImgType and ThmData */
> 03: $Results = mysql_query(
> Luke Crouch wrote:
>
> > I know Dreamweaver UltraDev has nice site management features
> for using a
> > JSP/SQL type serverdoes it have similar capabilities with PHP/MySQL?
> > Does anyone know?
> >
> > -L
Search the archives on this one.
There is a project called php4ud or something like
unusual??
Don't know ... but i never ever saw a request like this on the list before,
if that is what you mean.
But the ppl on this list are mostly developers and most of them including
me. We don't buy we make :) (at least we try to :)
I understand your frustration.
But what you could do:
1 tr
> Hi all,
> How can I get the full URL of the currently running script?
> $DOCUMENT_ROOT is not what I need, instead I need the url (be it
> domain if exists, or ip if not). $SERVER_NAME works but if a
> domain isn't paired with the server, I could get some useless
> information (right?).
$S
allowcache_expire * 60);
$Link = mysql_connect("mysite.com", "db_user", "db_password")
or die ("SL1-".mysql_errno().": ".mysql_error());
mysql_select_db ("db_name", $Link)
or die ("SL2-".mysql_errno().": ".mysql_error());
/* update Counter Table */
$UpdateCounter = "UPDATE Counter SET Ct=Ct+
To make it download, use "header" to set your content type:
header("Content-type: text/tab-separated-values\n\n");
Make sure the above is the first this the script outputs, and the only other
thing it outputs is data.
Take your code that spits out the data in html, strip out all the html, then
s
can anyone help? I am getting the error below:
object(db_error)(10) {
["error_message_prefix"]=>
string(0) ""
["error_prepend"]=>
string(0) ""
["error_append"]=>
string(0) ""
["mode"]=>
int(1)
["level"]=>
int(1024)
["code"]=>
int(-24)
["message"]=>
string(24) "DB Error
On Friday 08 February 2002 17:03, phantom wrote:
> header("Cache-Control: public");
> header("Cache-Control: max-age=" . $this->allowcache_expire * 60);
>
> $Link = mysql_connect("mysite.com", "db_user", "db_password")
> or die ("SL1-".mysql_errno().": ".mysql_error());
> mysql_select_db ("db_n
I had a similar requierment. When I searched for it, came to know about
APD ( Advanced PHP Debugger ) its a extension. We need to do some confs in
php.ini for this. APD is somewhat better in tracing stacks.
Try your best.
[EMAIL PROTECTED]
On Fri, 8 Feb 2002, Martin Towell wrote:
> I know this
Go to www.nitroclicks.com/join.phtml?referred=johndoe1104 and make lots of
money!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a feeling that www.aletia.com use 4.1.1
Don't quote me on that though :)
Neil
Edward Marczak wrote:
> I know the subject of web hosts that support PHP comes up frequently - but
> here's a twist:
>
> After going through the archives, and checking out many, many hosts, I
> haven't found a
At sending e-mail there is not a big problem.
It is necessary the sender (field "From") and the addressee (field "To") to
code, receive so-called "encoded-words" (RFC 2047).
For example from record
To: "÷ÁÓÑ, ÐÒÏÇÒÁÍÍÉÓÔ" <[EMAIL PROTECTED]>
to receive such as
To: =? koi8-r? B? 8y7h7OXr8 Xl9w ==?
http://www.acilhost.com/en/index.php
Here you can find what you need.
They also offer custom solutions with the lowest prices in the
world...
On Fri, 08 Feb 2002 11:04:32 +, Neil Freeman wrote:
>I have a feeling that www.aletia.com use 4.1.1
>
>Edward Marczak wrote:
>
>>already takes advant
Make the name of the select an array
e.g. http://www.chessish.com>
--
From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
Sent: 08 February 2002 02:47
To: [EMAIL PROTECTED]
Subject: Re: [PHP] HTTP_POST_VARS problem
Please ignore my questi
Hi folks,
I don't know if everyone ever knew this, but I haven't been able to
find anything about this, anywhere...
odbc_execute has a very dangerous 'feature'. I would like to call it
a bug, because someone has implemented it on purpose I should call
it a feature...
odbc_execute takes two argu
This is what we call a BUG
Report it on http://bugs.php.net
thx
> -Original Message-
> From: * R&zE: [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 08, 2002 1:44 PM
> To: PHP General Mailinglist
> Subject: [PHP] ODBC_EXECUTE has a DANGEROUS 'feature'!!!
>
>
> Hi folks,
>
>
Usually I would agree with you. Like I wrote in my message, I would
like to call it a bug, but it was written on purpose. That would
make it a feature!?!
It's an if-block of app. 20 lines that makes sure this happens.
Looks like someone _really_ wanted PHP to do this...
> This is what we call a B
One you have the IP you need to do a whois on the RIPE database to work out
who the IP is assigned to and which country they are in.
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969
PGP Key available, send email with subject: Send PGP Key
- Original Message -
From
Hi!
I'm trying to encrypt some password using TripleDES-encryption here...
I've followed the documentation for the mcrypt-libraries, but I get a
warning (all though it -does- encrypt the text) every time I try to
encrypt something;
Warning: attempt to use an empty IV, which is NOT recommend
My
Hi,
I want to be able to open a file and then strip the first line of it off.
Example, the first line contains the names for tables in a database and
all I need is from the second line on.
if I fopen a file can I strip the line or should I process it and then
drop the data from the first r
The way Google determines what language to use is by checking the
Accept-Language header which is added by your browser.
The value of this request header is stored automatically in the $_SERVER
array. Check with phpinfo() or print_r($_SERVER);
Although IP may be more reliable to determine the
Use
$aFile=file();
//$aFile[0] contains the unwanted line
echo $aFile[1]; // displays line 2
echo $aFile[n]; // displays line n where n is an positieve interger and not
greater then the number of lines in the file
http://www.php.net/manual/en/function.file.php
HTH
Jerry
> -Original Mes
Thank you! Works. I have a few more questions! I am working on
converting a program from perl to PHP as it is the new language of choice
at our office.
I have been using printf statements in perl to format data. Is there a
similar funtion in php? Here is an example from the perl program:
Yes there is!
Try reading the manual?
http://www.php.net/printf
printf ("%-5.5s",$fields[14]);
for the other function to make a line exactly 255 char long? Do you have the
perl Example?
HTH
Jerry
> -Original Message-
> From: Scott [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 08,
printf NEW ("%-193.193s");
printf ("%-193.193s",);
HTH
> -Original Message-
> From: Jerry Verhoef (UGBI) [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 08, 2002 4:35 PM
> To: 'Scott'; Jerry Verhoef (UGBI)
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] Stripping the first line of
Thanks Jerry!
In perl I was doing this:
printf NEW ("%-193.193s");
Which I just read the manual and discovered it works in PHP as well.
Basically prints 193 spaces to make sure the line is 255 after I filled
the line with other characters.
On Fri, 8 Feb 2002, Jerry Verhoef (UGBI) wrote
hi all out there,
just tell me howz this new site
"www.linuxfornerds.com"
A site meant for ardent linux lovers but every one r
invited to post any views on any open source software.
so get ur voice out
/sagar
__
Do You Yahoo!?
Send FREE Va
looks like every other SLashdot, PHP-Nuke or PHP-Mutant web site out there
with,just a lot less content...
At 07:52 AM 2/8/2002 -0800, Sagar Chand wrote:
>hi all out there,
>
>just tell me howz this new site
>"www.linuxfornerds.com"
>A site meant for ardent linux lovers but every one r
>invited
My site uses a scheme whereby a session variable (say, $logged_in) is
checked for. If the variable is not set to 1, then header("Location:
./index.php") is used to redirect the browser to index.php, where they
are offered an opportunity to log in (setting the session variable
$logged_in to 1)
LOL
And i just thought it looked like spam Sorry my mistake >:)
> -Original Message-
> From: JSheble [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 08, 2002 5:09 PM
> To: php list
> Subject: Re: [PHP] check this new site
>
>
>
> looks like every other SLashdot, PHP-Nuke o
Bas Jobsen wrote:
> Op donderdag 07 februari 2002 23:58, schreef Michael Kimsal:
>
>>Looking for a regex (preg or ereg) to remove
>>all 1, 2 and 3 character words.
>>
>
> $string="over deze regex loop ik nu al de hele dag en een uur te piekeren. 't
> wil niet! of wel! l'a.";
> $string=" ".$str
Thanks for the response, but those are just like $DOCUMENT_ROOT, they provide paths in
the server, I need what is showing up as the URL in the browser - i.e.
http://www.domain.com/script.php - or if there is no domain, to give me the IP.
any ideas? I can't seem to piece it together with the inf
I'm trying:
$query = mysql_query("select COUNT(*) as rowexists from ips where ip =
'$REMOTE_ADDR'");
$result = mysql_fetch_array($query);
if($result['rowexists'] == false){
mysql_query("INSERT INTO `ips` (`ip`) VALUES ('$REMOTE_ADDR')");
}
But it keeps putting the ip into tthe array, even if it'
hello,
I'm using eregi to print out parts of a text file, and I was just wondering
how you get the code to print out a newline as it appears in the file.
John
_
Send and receive Hotmail on your mobile device: http://mobile.msn.com
Get hold of phpmyadmin - it makes MySQL easier!
Are you logging on to MySQL as root from the computer on which mysql is
running and are you supplying a password? Even if the root password is
blank you still need to enter the password as blank I think!
"Roman Duriancik" <[EMAIL PROTECTED]> wrot
If you try and use $var in an operation ( i.e. .= <== etc) and you
get an error saying "Undefined variable" then isset($var) = FALSE
LJ
"Erik Price" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hm. I hope I'm not opening an old wound:
>
> Curious
hi,
I am trying to get the screenresolution passed from a javascript
variable to a PHP variable using sessionvariables, but I can't get it to work,
can you help me out to get some code working?
I was thinking of something like this, but I'm pretty much a newbie
at lots of things, so I'm sure thi
I am looking for a way to check to see if a website is up, something like a
ping command. Does anyone know of a way to do this?
Mike Fifield
Charles Schwab & Co, Inc.
WARNING: All e-mail sent to or from this address will be received by the
Charles Schwab corporate e-mail system and is subject to
_
MSN Photos es la manera más sencilla de compartir e imprimir sus fotos:
http://photos.latam.msn.com/Support/WorldWide.aspx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'd say you should store the base url of your site in a variable somewhere.
then append the REQUEST_URI and you have the url.
or ..
you take the SERVER_NAME, SERVER_PORT and REQUEST_URI ..
and you might need some other variables to make it recognize SSL and
prefix with httpS ..
bvr.
>How
Ok let me be more specific. I know I could do this with perl but it is going
to be used on a page that will be loaded hundreds of times a minute, and so
it needs to be fast. I was hoping that php had a function that could be used
to do this, something like perl's webping.
-Original Message---
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello All:
How do I read all of the data from just one column, then develop a
count based on those items? I think I start with mysql_fetch_field(),
but right there I get stuck. Any ideas to point me in the right
direction?
Thanks in advance,
Ron C
SELECT COUNT(col_name) FROM mytable WHERE
This will return the number of items with that condition in that columne,
name col_name
-Original Message-
From: Ron Clark [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 08, 2002 11:19 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Newbie Question a
Hello to everyone
in A web site where logins are managed with php sesions
is it possible to count how many concurent users are loged in ??
I believe that one way is to keep in a mysql table every login
user but how can i delete a "loged-in" record when user session
terminates abnormal
thank
Not sure what your exact problem is but I did notice you had back ticks(`)
in your insert statement. You should be using ('). You may need a where
clause in your insrt statement unless you want to populate all rows. Just a
couple of thoughts.
/dkm
- Original Message -
From: "Leif K-
>
> in A web site where logins are managed with php sesions
> is it possible to count how many concurent users are loged in ??
>
> I believe that one way is to keep in a mysql table every login
> user but how can i delete a "loged-in" record when user session
> terminates abnormal
>
If you use th
On Fri, 8 Feb 2002, Dennis Moore wrote:
> Not sure what your exact problem is but I did notice you had back ticks(`)
> in your insert statement. You should be using ('). You may need a where
> clause in your insrt statement unless you want to populate all rows. Just a
> couple of thoughts.
A
> -Original Message-
> From: Martin Towell [mailto:[EMAIL PROTECTED]]
> Sent: 07 February 2002 22:17
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP] Using functions before they're defined
>
> I haven't looked at the php's source code, but maybe it's a
> two pass parser
> (??) first it gets
>From phpinfo at Aleita.com:
PHP Version 4.1.0
System Linux cobra.nocdns.com 2.4.7-10smp #1 SMP Thu Sep 6 17:09:31 EDT 2001 i686
unknown
Build Date Dec 15 2001
Configure Command './configure' '--with-apache=../apache_1.3.22' '--with-mysql'
'--with-gd' '--with-freetype' '--enable-track-var
Hey there
I want to make a webpage out of one main pagewith php, if you press on a
link i want that it changes the content of the page, but it doesn't seem to
work, i tried it like this...
link:
php code:
if($link == home)
{
include'soundmp3.php';
}
but it doesn't work (i don't get an error
Hello John
> I'm using eregi to print out parts of a text file, and I was just wondering
> how you get the code to print out a newline as it appears in the file.
Not quite sure what eregi has to do with it - perhaps I'm missing something.
Would the nl2br function help?
=dn
--
PHP General
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello all again,
Here is my line in my script:
$ynumber = mysql_query("SELECT COUNT(*) FROM responses WHERE
response=y");
But it returns a blank or empty. How do I convert this MySQL command
to PHP?
mysql> SELECT COUNT(*) FROM responses WHERE resp
just quote the 'y' in your query:
$ynumber = mysql_query("SELECT COUNT(*) As Cnt FROM responses WHERE
response='y'");
Edward
- Original Message -
From: "Ron Clark" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 08, 2002 7:38 PM
Subject: [PHP] Syntax ???
> -BEGI
http://www.geocities.com/php4ud/
Seach google for php4ud
God bless google!
"Matt Williams" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Luke Crouch wrote:
>
> > I know Dreamweaver UltraDev has nice site management features
> for using a
> > JSP/SQL
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi everyone,
quick Q on writing Methods on PHP:
If a methods purpose is to take 3 values and do stuff with those values,
should the error checking (eg. that the values dont='') be done /inside/
the Method or by the script that calls it?
It make
I would actually do the check inside the function, that way you don't have
to do it each time before you call the function. Also, by doing this you
can set things to a default value (if that is relevant to your code...).
-Jeff
At 08:20 PM 2/8/2002 +0100, Nick Wilson wrote:
>-BEGIN PGP SIG
Hi.
I was wondring...
maybe you want to develop a project?
have any ideas?
Arik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
try:
if( ! strcmp($link, "home") )
{
include("soundmp3.php");
}
-Original Message-
From: Manuel Ritsch [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 08, 2002 12:24 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Parameters via Link
Hey there
I want to make a webpage out of one main pagewit
Hi there, hope you can help me with my problem.
I'm trying to set up a PHP/MySQL web site using session variables to
pass information between pages. So far no good.
I did set register_globals to On on the php.ini file. But when i use for
example session_register("the_var") in one page ( using se
On Saturday 09 February 2002 02:23, Manuel Ritsch wrote:
> Hey there
>
> I want to make a webpage out of one main pagewith php, if you press on a
> link i want that it changes the content of the page, but it doesn't seem to
> work, i tried it like this...
>
> link:
>
>
>
> php code:
>
> if($link
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Cristian Cerda declared
> Hi there, hope you can help me with my problem.
>
> I'm trying to set up a PHP/MySQL web site using session variables to
> pass information between pages. So far no good.
>
> I did set register_globals to On
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Arik Ashepa declared
> Hi.
> I was wondring...
> maybe you want to develop a project?
> have any ideas?
Yes! How about a database backed set of scripts to create world peace
and send a steady supply of beer to my house?
- --
Nick W
On Saturday 09 February 2002 00:17, [EMAIL PROTECTED] wrote:
> Thanks for the response, but those are just like $DOCUMENT_ROOT, they
> provide paths in the server, I need what is showing up as the URL in the
> browser - i.e. http://www.domain.com/script.php - or if there is no domain,
> to give me
Do I detect a bit of Friday-afternoon sarcasm???
Actually, a beer sounds good about now
-Original Message-
From: Nick Wilson [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 08, 2002 1:40 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Php Projects
-BEGIN PGP SIGNED MESSAGE-
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Rick Emery declared
> Do I detect a bit of Friday-afternoon sarcasm???
>
> Actually, a beer sounds good about now
Friday evening in .dk and php is always best served with a cold one!
- --
Nick Wilson
Tel:+45 3325 0688
Fa
hey,
which is the best template library out there? does anyone have any
benchmarks? smarty? phplib? any others?
Regards,
Kunal Jhunjhunwala
"Minds think with ideas, not information. No amount of data, bandwidth, or
processing power can substitute for inspired thought." - Clifford Stoll
--
PHP
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Kunal Jhunjhunwala declared
> hey,
> which is the best template library out there? does anyone have any
> benchmarks? smarty? phplib? any others?
Hehe, still messing with templates kunal?
There's a good article on PHPLib vs Fastemplat
Hey,
Well, I got phplib working.. but i yet think something is missing :) and
have heard a lot of buzz abt smarty... but havent seen any benchmarks...
from the article at devshed.. fast templates should have stayed with perl ;)
anyone else got any suggestions?
Regards,
Kunal Jhunjhunwala
"Minds
Nope, I'm serius, I have nothing better to do?
So, do you have any ideas?
Arik
Rick Emery wrote:
> Do I detect a bit of Friday-afternoon sarcasm???
>
> Actually, a beer sounds good about now
>
> -Original Message-
> From: Nick Wilson [mailto:[EMAIL PROTECTED]]
> Sent: Friday, Feb
on 2/8/02 12:49 PM, Nick Wilson at [EMAIL PROTECTED] wrote:
>> Do I detect a bit of Friday-afternoon sarcasm???
>>
>> Actually, a beer sounds good about now
>
> Friday evening in .dk and php is always best served with a cold one!
reminds me of my days as a netadmin. playing with routers l
Hello gurus, need some help here please.
I have mail php script with out attachment possibilities.
How can I add attachment in to this one?
The following information has been delivered:
$key = $val";
$Message .= "$key = $val\n";
}
if ($Header) {
$Message = $Header."\n\n".
On Fri, 2002-02-08 at 04:43, * R&zE: wrote:
> Hi folks,
>
> I don't know if everyone ever knew this, but I haven't been able to
> find anything about this, anywhere...
>
> odbc_execute has a very dangerous 'feature'. I would like to call it
> a bug, because someone has implemented it on purpose
We are in the -0700 time zone but whenever I use PHP to send a message it
sends it from +0700 making the message appear to have been sent 14hours
earlier than it was.
I can add my own Date header to the mail function with the correct date/time
zone but that means I have to modify all my script
_
Hable con sus amigos en línea, pruebe MSN Messenger: http://messenger.msn.es
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I just checked the Date function and when you use the 'O' or 'r':
O - Difference to Greenwich time in hours; i.e. "+0200"
r - RFC 822 formatted date; i.e. "Thu, 21 Dec 2000 16:01:07 +0200"
it also gives the wrong time zone.
Is there anyway to tell PHP that it is wrong? Is this just a bug i
yes i did.
Nick Wilson wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> * and then Cristian Cerda declared
> > Hi there, hope you can help me with my problem.
> >
> > I'm trying to set up a PHP/MySQL web site using session variables to
> > pass information between pages. So far n
Sorry, should spell aletia.com
>From phpinfo at Aleita.com:
PHP Version 4.1.0
System Linux cobra.nocdns.com 2.4.7-10smp #1 SMP Thu Sep 6 17:09:31 EDT 2001 i686
unknown
Build Date Dec 15 2001
Configure Command './configure' '--with-apache=../apache_1.3.22' '--with-mysql'
'--with-gd' '--
On Friday, February 8, 2002, at 02:15 PM, Cristian Cerda wrote:
> I did set register_globals to On on the php.ini file. But when i use for
> example session_register("the_var") in one page ( using session_start()
> at the beginning), i don't get anything on the next page if i do echo
> $the_var
And for efficiency you could convert and store IP addresses in numeric
format.
See INET_NTOA and INET_ATON.
Subject:
Re: [PHP] Trying to put ips into database
From:
Matt Drake <[EMAIL PROTECTED]>
Date:
Fri, 8 Feb 2002 11:52:26 -0600 (CST)
To:
<[EMAIL PROTECTED]>
On Fri, 8 Feb 2002, De
yes, and didn't work.
Erik Price wrote:
> On Friday, February 8, 2002, at 02:15 PM, Cristian Cerda wrote:
>
> > I did set register_globals to On on the php.ini file. But when i use for
> > example session_register("the_var") in one page ( using session_start()
> > at the beginning), i don't get
What type of field is 'ip'?
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 08, 2002 9:18 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Trying to put ips into database
I'm trying:
$query = m
I've setup an upload form for uploading files to my server. It seems to
work well except the performance is pretty sad. For example it took 20
minutes to upload a 50MB file over a 100Mb LAN. This is running on Linux
w/Apache.
At the heart of the script is the copy() function. Anyone have any
Hi,
How should i go about to developing a php application to manage the content of a web
site OR is there allready some ready made script available which i can use in my
project.
Looking forward for yours response.
karthikeyan.
How about an interactive map showing all the commercial breweries in the
world. I'll input the ones I know about in Antarctica.
- Original Message -
From: "mike cullerton" <[EMAIL PROTECTED]>
To: "PHP-General" <[EMAIL PROTECTED]>
Sent: Friday, February 08, 2002 12:21 PM
Subject: Re: [PHP
Make sure that exec() will not get any kind of response from the script if
you want it in the background.
This works for me:
$command = "funky script stuff here";
exec ("$command >/dev/null 2>&1 &");
Peter Clarke
"Jason Rennie" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL
I'm trying to do some string replaces on XML files to import them into a
prprietary db that doesn't understand XML.
I need to strip the XML tags out of the file.
However, when I use this line:
$contents = str_replace('', '', $contents);
The ?> in the string ends my php block.
I know there's
check the application section of www.zend.com
-philip
On Sat, 9 Feb 2002, karthikeyan wrote:
> Hi,
>
> How should i go about to developing a php application to manage the content of a
>web site OR is there allready some ready made script available which i can use in my
>project.
>
> Looki
Hi Guys,
Is anyone aware of a browser based WYSIWYG HTML editor that works with PHP?
Essentially, something that's free and easy to integrate into my existing
form. I want users to be able to add formatted content to my site without
knowing any real HTML.
O From Now 'Till Then,
\->Regi
With --enable-trans-sid the problem still exists. For example, a user
logs in and cookies are disabled. He browses to a page which doesn't
load the session. Then from there he goes to a page that does use
sessions. Unless I'm mistaken, --enable-trans-sid won't add the session
ID unless the session
We'd need some more information, as "Content Management" is as varied as web pages,
but depending on your needs:
http://www.roadsend.com/siteManager/home/treeMenu.php
is a hot script.
Look around on-line or on php.net for some leads that suite your complexity
requirements, or fill us in on the
You might check out binarycloud. This is a platform
but there is probably going to be an app for content
management very soon as this is being worked on.
SEE: http://binarycloud.tigris.org/
SEE: http://www.binarycloud.com/
_justin
karthikeyan wrote:
>
> Hi,
>
> How should i go about to dev
Hi, try this:
str_replace(""
Jeff
At 03:45 PM 2/8/2002 -0600, Steven Jarvis wrote:
>I'm trying to do some string replaces on XML files to import them into a
>prprietary db that doesn't understand XML.
>
>I need to strip the XML tags out of the file.
>
>However, when I use this line:
>
>$co
On Saturday 09 February 2002 06:56, SpamSucks86 wrote:
> With --enable-trans-sid the problem still exists. For example, a user
> logs in and cookies are disabled. He browses to a page which doesn't
> load the session. Then from there he goes to a page that does use
> sessions. Unless I'm mistaken,
For an arbitrary large number I need to round() it up to the hundreds place
if it is not divisible by 100 and leave it untouched if it is.
So 1100 would round to 1100 and
1101 would round to 1200.
Is there a clean way to do this?
Currently I'm:
$scale = round($scale+49, -2); // round up to hund
Something like this...?
if( $n % 100 != 0 ) {
$n += 100 - ($n % 100);
}
Although I don't think your example is any messier... maybe ceil/floor
should have a precision field added...
-philip
On Fri, 8 Feb 2002, Charlie Killian wrote:
> For an arbitrary large number I need to round() it up
I think you mean that you want to display the total as text but have the total on the
form hidden so they can't edit it (and give themselves a discount), you can use a
hidden form field, sessions or cookies.
Paul Roberts
[EMAIL PROTECTED]
- Original Me
Charlie,
> For an arbitrary large number I need to round() it up to the hundreds place
> if it is not divisible by 100 and leave it untouched if it is.
>
> So 1100 would round to 1100 and
> 1101 would round to 1200.
>
> Is there a clean way to do this?
>
> Currently I'm:
> $scale = round($scal
1 - 100 of 117 matches
Mail list logo