for php sms on google and got several tutorials
and informations. Just give it a try.
Sebastian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Larry Martell schrieb:
On Thu, Oct 14, 2010 at 9:45 AM, Paul M Foster pa...@quillandmouse.com wrote:
Folks:
Being fairly geezerly, I know almost nothing about this, so be gentle.
Assuming someone entered information in a form on a website. Normally,
you would email the responses to
Larry Martell schrieb:
On Thu, Oct 14, 2010 at 10:01 AM, Sebastian Detert
php-maill...@elygor.de wrote:
Larry Martell schrieb:
On Thu, Oct 14, 2010 at 9:45 AM, Paul M Foster pa...@quillandmouse.com
wrote:
Folks:
Being fairly geezerly, I know almost nothing about this, so be gentle
() {
return $this - gift;
}
}
using
$_SESSION['life_coaching_order'][] = new Order();
foreach ( $_SESSION['life_coaching_order'] as $order )
{
switch ( $order - getGift() )
case ORDER_GIFT: break;
case ORDER_PERSONAL: break;
}
I hope that will help you,
Sebastian
http
Do you have any specifications for HBCI interfaces? Socket connection,
XML Exchange, DB Access ? If you have C code for such things, it should
be possible to convert this to php code maybe
Stephan Ebelt schrieb:
On Fri, Oct 08, 2010 at 01:50:12PM +0100, a...@ashleysheridan.co.uk wrote:
OK THX to everyone. I will check the images with imagick and let the
pdfs in adobes responsibility. One worry less.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
before I allow to upload images I read them and check for several html
tags. If they exist I don't allow the upload. Is their any need to check
pdf files, too? At the time I'm doing this, but the result is that many
files are denied because of unallowed html tags.
--
PHP General Mailing
Peter Lind wrote:
On 14 August 2010 22:36, Sebastian Ewert seb2...@yahoo.de wrote:
Hi,
before I allow to upload images I read them and check for several html
tags. If they exist I don't allow the upload. Is their any need to check
pdf files, too? At the time I'm doing this, but the result
Rick Dwyer wrote:
Hello List.
In the Alt section of the IMG tag below, the variable $myitem has a value of
Who's There.
echo div class='myclass'a href='#' class='color_thumb' img
src='/itemimages/$mypic' alt='$myitem' width='60'
When running through W3C validator, the line
Ashley Sheridan wrote:
On Tue, 2010-08-03 at 15:00 -0400, Rick Dwyer wrote:
On Aug 3, 2010, at 2:47 PM, Sebastian Ewert wrote:
Rick Dwyer wrote:
Hello List.
In the Alt section of the IMG tag below, the variable $myitem has a value
of Who's There.
echo div class='myclass'a href
?
Thanks for reply,
Sebastian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ashley Sheridan wrote:
On Thu, 2010-07-22 at 10:49 +0200, Sebastian Ewert wrote:
Hi,
I'm developing an joomla component and my helper an user classes are
crowing bigger and bigger. The helper class is for static use only.
Does class size decrease performance of my php scripts, even
to long?
If it is should I take all the html genarating functions and put them in
a helper class?
If I do so and there is no way to call those functions without
initalizing the main user object, will there still be an increase of
performance?
Thanks,
Sebastian
--
PHP General Mailing List (http
and if there are performance problems with to long classes.
Thanks,
Sebastian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. My question is answered and I have some lecture for the
next week.
Greets,
Sebastian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
snipplets so that i can work for
an solution.
Thanks in advance
Sebastian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
thanks for the hint, but how can i get the size when the header isn't
specified?
is there the possibility to count the bits and bytes when i get the file?
Sebastian
Gevorg Harutyunyan schrieb:
Hi,
You must get content-length http header value, but sometimes header is
not set and you
connection.
If i use a ssl connection steam_set_timeout seems to be ignored.
Any clues or workarounds?
Sebastian
PS: You can download the whole code on
http://muzybot.de/phpircbot.tar.gz or http://muzybot.de/phpircbot.zip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
already searched the web and the whole php.net site
but i don't see any workaround.
Thanks in advance
Sebastian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thijs Lensselink schrieb:
Sebastian Muszytowski wrote:
Hello :)
I have some troubles with php and mysql. I have a normal MySQL Query
and this returns X 3 rows.
Now i want to get the last 3 inserted values. For Example i've inserted
A, B, C, D, E
I want to get the last inserted values
haliphax schrieb:
[..cut...]
Except when your primary key value rolls over, or fills a gap between
two other rows that was left when a row was deleted/moved/etc... there
has got to be a better way than grabbing rows in descending order
based on the auto_increment value.
Are you doing the
Hello,
I want to know what the # char does. On a website I was working at,
I tried to open a file with a # in it's name and I got an error. So
I'd really appreciate any help to know how to avoid the error and
what does the character do.
Thanks a lot
Sebastian
--
PHP General Mailing
a
solution or a workarround. Are the some people, who have some ideas?
Regards
Sebastian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
Sebastian Hopfe wrote:
Now, the ZIP-files must be protect. There a important files included.
Each site and forum seems to have no solution about this problem. Now,
I need a solution or a workarround. Are the some people, who have some
ideas?
You could
://dev.mysql.com/doc/refman/5.0/en/backup.html
There are many ways to backup the Database. I thought this will help you.
Regards
Sebastian
Vanessa Vega [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
hello thereis there a way to create a back-up database through
PHP?...i would
Dear kNish,
first of all i have formated your PHP Code it looks better now.
?php
echo tr\n;
echo td height=\33\nbsp;/td\n;
echo td width=\14%\ class=\style3\Artist/td\n;
$options = mysql_query(SELECT artist_name FROM artist);
$options=mysql_fetch_array($options);
echo 'td';
Dear Ronald,
I would like to ask you, want kind of session you use in you application.
regards
Sebastian
Ronald Wiplinger [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
I use at the first page a session variable to set a flag.
After a few pages, or if somebody wait too long
Dear Andrew,
I think normaly it isn't possible to use another class in a class, without
using extends. But you should use your array as a container. After you use
as a container, you can make new instance into a array field.
Now you can use the content of the container to administrate the
It seems to be a PHP Bug, because normaly it should very well.
but you can solve this problem, by a workarround.
using eval($a.();); instead of $a(); in the class.
Best regards
Sebastian
Paul van Haren [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
Hi there,
I'm trying
I think you should log it, because it seems to be, and you found this error.
Regard
Sebastian
Paul van Haren [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
Thanks, this helps. The code now works.
In case this is truely a bug in PHP, where should I log it? Anything that
I
Hi, we have been using the following codes on our site for a year and I wanted
to know if these codes are just spaghetti or its actual usable code. I know it
can be bettered a lot I just need opinions if the codes can be used a while
more until we reprogram everything as a complete CMS system.
afaik it's the system time.
Cheers
En3pY
Sebastian Konstanty Zdrojewski
URL: http://www.en3py.net/
E-Mail: [EMAIL PROTECTED]
Le informazioni contenute in questo messaggio sono riservate e
confidenziali. Il loro utilizzo è
. As for
performance I don't know, but a difference is present for sure. Actually I
never benchmarked the performance of the two styles, but wanted to give my
10 cents for the coding style :)
Cheers
En3pY
Sebastian Konstanty Zdrojewski
URL: http://www.en3py.net/
E-Mail
essential first,
have fun laterz =:)
Obviously IMHO :)
Have fun,
En3pY
Sebastian Konstanty Zdrojewski
URL: http://www.en3py.net/
E-Mail: [EMAIL PROTECTED]
Le informazioni contenute in questo messaggio sono riservate e
Try
?
@reset( $_SESSION['client'] );
while ( list( $var, $val ) = @each( $_SESSION['client'] ) ) {
if ( $var != 'name' ) unset( $_SESSION['client'][ $val ] );
}
?
a bit dirty but works... :-/
Sebastian Konstanty Zdrojewski
URL: http://www.en3py.net
the frameset.
The session will be available in all the frames.
Cheers,
En3pY
Sebastian Konstanty Zdrojewski
URL: http://www.en3py.net/
E-Mail: [EMAIL PROTECTED]
Le informazioni contenute in questo messaggio sono riservate e
If you got also the year you can transform the dates into UNIX TIMESTAMP and
check againist that. If you don't have that, write down a simple procedure
that converts dates into days since 01/01 and use that method, but it will
be faulty if the date ranges overlap years.
Cheers
En3pY
Sebastian
the command line.
Check out the earlier and I think you're gonna solve your issue.
Regards,
En3pY
Sebastian Konstanty Zdrojewski
URL: http://www.en3py.net/
E-Mail: [EMAIL PROTECTED]
Le informazioni contenute in questo
Matthew Weier O'Phinney wrote:
* Sebastian wrote:
i spent hundreds of hours building my site on php4,
im not about to rewrite any of it to make it 'compatible' with php5.
Don't rewrite it to make it compatible with PHP5 -- rewrite it to take
advantage of PHP5's better performance
Greg Donald wrote:
On 8/14/05, Sebastian [EMAIL PROTECTED] wrote:
now if they say php5 is 20% faster than php4 than i would upgrade
overnight ;)
Who is 'they' ? Go write a benchmark and see for yourself.
obviously coming from the developers..
i guess im more or less wanting
I will be building a new server and wondering what would be a good
choice for php/mysql/apache other than redhat.
I was thinking either Debian or CentOS. can anyone share their thoughts
on them for php environment?
does anyone use them on high traffic php sites? or is there not a
difference
Jochem Maas wrote:
if you haven't seen it yet and are interested in the future
of php you might be interested in the _big_ thread on php-internals
that starts with the message:
http://www.manucorp.com/archives/internals/200508/msg00398.php
IMHO every halfbaked php coder should read it ;-)
to
Matthew Weier O'Phinney wrote:
* Sebastian [EMAIL PROTECTED] :
why php6 and not php5? look how long it took to get to php4 (with php5
just starting to rolling out) and people are already talking about php6?
My observation was that more people jumped to PHP4 from PHP3 than have
so
accepted I was wrong. I apologized.
What do you want now? Sebastian wanted to help – in difference to you
and John. Even it’s “wrong place”. I guess you would never stop and
help to car in trouble on highway because you are IT or “it’s not your
department”, ha?
C’mon… It’s really not place
[EMAIL PROTECTED] wrote:
I tried this one:
SELECT trans_no
FROM orders
WHERE trans_no IN (
SELECT trans_no
FROM special_orders )
but gives me an error:
You have an error in your SQL syntax. Check the manual that
corresponds to your MySQL server version for the right syntax to use
near
take what other say with a grain of salt.. im sure you're using php to
pull info from mysql anyway..
the fact is without mysql php would be nowhere where it is today.. its
like peanut butter w/o the jelly..
see my reply in the other email.. im sure it will work for you.
[EMAIL PROTECTED]
Richard Lynch wrote:
On Tue, August 9, 2005 3:07 pm, Sebastian wrote:
i'd like to create a graph with the amount of downloads per hour, i am a
little confused how i should go about this.
i know i can use rrdtool/mrtg, but im looking for more 'user friendly'
graphs with custom colors,etc
Ryan A wrote:
Hey,
Having a bit of a problem working out the logic to this one (its 5am
now...),
basically people vote on pics like hotornot.com, but here they vote on
a scale of 1-5 (one being something like what was hit by a bus at birth and
five being
the person you will never have a
some of my users are complaining that when they try download media files
(mp3, mpeg, etc) their media player opens and doesn't allow them to
physically download the media. These are IE users, firefox seems to like
my code, but IE refuses to download the file and plays it instead..
can anyone
James R. wrote:
That would be browser dependent, something you have no control over.
Maybe you can include a little text message saying right-click save
as for the users not intelligent enough to figure it out themselves.
- Original Message - From: Sebastian
[EMAIL PROTECTED
James R. wrote:
That would be browser dependent, something you have no control over.
Maybe you can include a little text message saying right-click save
as for the users not intelligent enough to figure it out themselves.
- Original Message - From: Sebastian
[EMAIL PROTECTED
Richard Lynch wrote:
On Wed, August 10, 2005 12:49 pm, Chris wrote:
if ($extension != 'txt')
{
header(Content-disposition: inline; filename=\$file[type]\);
}
else
{
// force txt files to prevent XSS
header(Content-disposition: attachment; filename=\$file[type]\);
}
The
Paul Waring wrote:
On Mon, Aug 08, 2005 at 04:37:12PM -0400, Eric Gorr wrote:
Should it? Is it possible to write a doesexists.php script which would
cause the 404 directive to be triggered?
I also tried: header(Status: 404 Not Found); but this did not work either.
Try searching the
Jasper Bryant-Greene wrote:
Sebastian wrote:
Paul Waring wrote:
On Mon, Aug 08, 2005 at 04:37:12PM -0400, Eric Gorr wrote:
Should it? Is it possible to write a doesexists.php script which
would cause the 404 directive to be triggered?
I also tried: header(Status: 404 Not Found
i'd like to create a graph with the amount of downloads per hour, i am a
little confused how i should go about this.
i know i can use rrdtool/mrtg, but im looking for more 'user friendly'
graphs with custom colors,etc.
each time someone downloads a file it is incremented in the db and the
Philip Hallstrom wrote:
i'd like to create a graph with the amount of downloads per hour, i
am a little confused how i should go about this.
i know i can use rrdtool/mrtg, but im looking for more 'user
friendly' graphs with custom colors,etc.
each time someone downloads a file it is
i have this app where a user fills out a form and after submit it
displays the values they entered. i want to save this info to a file
after they submit, then allow them to download the file. some other user
does the same, fills in the form and allow that person to download the
file... and so
try using -f
mail($toemail, $subject, $message, $from, '-f [EMAIL PROTECTED]');
[EMAIL PROTECTED] wrote:
I don't seem to be able to set the return path using the mail() function. I can't figure out why from will let me set it, but not the return path.
$headers = 'From: [EMAIL PROTECTED]' .
, but Is that the only way to get a
faster solution?
/mr G
@varupiraten.se
- Original Message - From: Sebastian
[EMAIL PROTECTED]
To: Gustav Wiberg [EMAIL PROTECTED]
Sent: Saturday, August 06, 2005 11:08 PM
Subject: Re: [PHP] Fast count of recordset in php...
how many records in the table? its
you sure each is on its own line (\n) ?
if you're only getting a value of 1 it is likely putting everything on a
single array key..
Tom Chubb wrote:
I'm having a problem with the following code:
?php
$file = http://www.mysite.co.uk/mailing_list_database.list;;
$lines =
wrote:
When I open the list in notepad everything is on one line with a
square box character.
When I open it in wordpad, it's one email address on each line.
On 04/08/05, Sebastian [EMAIL PROTECTED] wrote:
you sure each is on its own line (\n) ?
if you're only getting a value of 1 it is likely
sorry, i forgot to put file();
Sebastian wrote:
do this:
$file = 'http://www.mysite.co.uk/mailing_list_database.list';
echo 'pre';
print_r($file);
echo '/pre';
im pretty sure you'll only see 1 key..
if each has its own line, you would see something like:
Array
(
[0] = foo
[1] = foo
im working on a comment/forum app and when a user enters too many
carriage returns i want to remove them before insert to db.
example, user input:
-snip-
[quote=user]
foo
[/quote]
bunch of extra lines
more text...
-snip-
I to change to:
[quote=user]foo[/quote]
more
, Sebastian [EMAIL PROTECTED] wrote:
[quote=user]
foo
[/quote]
bunch of extra lines
more text...
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 8/3/2005
--
PHP General Mailing List (http
really need to learn some regexp.
Marco Tabini wrote:
Try changing the
\n*
patterns to
(?:\r?\n)*
Cheers,
Marco
--
BeebleX - The PHP Search Engine
http://beeblex.com
On 8/4/05 10:39 AM, Sebastian [EMAIL PROTECTED] wrote:
[quote=user]
foo
[/quote]
bunch of extra lines
more text
i need to mask (hide) some vars in a url so they arent visible to the
user. example, i want a url like this:
page?id=3something=12more=12
to turn into:
page?id=3;LyFU;MLFxvy
so from LyFU i can access $something and from MLFxvy $more
any ideas how i can do this?
doesn't have to be 100%
is it always necessary to call array() when you do something like this:
mysql_query(SELECT );
while($rows .)
{
$data[] = $rows;
}
if so, why? i have a habit of never calling array() and someone told me
i shouldn't do this.
--
No virus found in this outgoing message.
Checked by
i know i shouldn't rely on mime types for file verification but anyways..
I use application/zip which works fine on firefox and only allows zips..
however, on Internet explorer it doesn't work since IE returns
application/x-zip-compressed for zips.. problem with this is it also
allow rar
i know how to break up db results into two tables but im having a hard
problem with this:
db structure
---
| id | cid | title
---
| 1 | 2 | hardware
| 2 | 3 | software
| 3 | 3 | software
| 4 | 2 | hardware
how can i have hardware on column 1 and software on
i never really used constants before so this may sound stupid..
when you define a constant using define() and want to return true/false
is this logical:
if($bars == 3)
{
define('BAR', 1);
}
then:
if(BAR)
{
// bars is true
}
or should i need to do an else statement as well:
if($bars
Sebastian Mendel wrote:
Hi,
how can i check if a method is called statically when called from inside
another object? (without debug_bactrace())
class foo
{
function bar()
{
if ( isset( $this ) )
{
return 'not static';
}
return
The phone would have to have GPS capabilities..
Ethilien wrote:
I think that would require tapping the cellphone network, which I
doubt they would let you do since it be a major violation of privacy,
because you could track the general location of anyone on their network.
Thomas wrote:
Hi
Each time i try setting MAX_FILE_SIZE in a form and using the upload
error code to check if the file is large it always uploads the entire
file before showing the error that the file is too big.. either the
manual is incorrect or this does not work as every method i've tried
always waits for
Ahmed Saad wrote:
hi Sebastain,
On 7/12/05, Sebastian [EMAIL PROTECTED] wrote:
yet it waits for file to upload before error.
I've been using php for serveral years and i cant remember ever getting
this to work like the manual states.
Quoting the *php manual*
The MAX_FILE_SIZE
if you have php = 4.2.3 yes, otherwise no.
it has to be set in php.ini, .htaccess, or httpd.conf
[EMAIL PROTECTED] wrote:
Hi,
If i use, at the beginning of my scripts, ini_set('register_globals', 0),
register globals will be turned off?
Thanks
--
PHP General Mailing List
you sound exactly like someone i know..
i enjoy reading your long posts.. no sarcasm ;-)
i'd defently hire you, but you're probably too expensive ;-)
Richard Lynch wrote:
On Sat, June 25, 2005 3:37 am, Catalin Trifu said:
No! You don't have to rewrite your application. What mmacache
i am looking for a simple ad management app to keep track of ad
views/impressions. i was looking at phpadsnews, but it seems way too
much bloat of what i need i to do.
anyone know of a simple ad script to keep track of views/impressions?
thanks.
--
PHP General Mailing List
backslash was invented for windows ;)
Jochem Maas wrote:
the backslash has caught us all out when we first started, and beyond.
many 'noobs' have had the fortune of being explained, in depth,
how and why concerning the backslash by a singular Richard Lynch ...
but obviously nobody is immune
Dotan Cohen wrote:
On 6/15/05, Sebastian Mendel [EMAIL PROTECTED] wrote:
Dotan Cohen wrote:
Hi gurus. I'm having fun replacing the text within [ and ] to XML
format on 4000+ files on a windows XP machine. I installed php (and an
apache server) on the machine because it is the only language
() with $_GET ( or $_REQUEST ) ?
foreach ( $_GET as $key = $var )
{
echo $key . ' = ' . $var;
}
but this is not incrementing a register global but 'accessing a
superglobale array'
--
Sebastian Mendel
www.sebastianmendel.de
www.sf.net/projects/phpdatetime | www.sf.net/projects/phptimesheet
--
PHP
?
--
Sebastian Mendel
www.sebastianmendel.de
www.sf.net/projects/phpdatetime | www.sf.net/projects/phptimesheet
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sebastian Mendel wrote:
Gustav Wiberg wrote:
Hi there!
I have a script that runs about 10 minutes... Localy on my computer
(Windows XP 2.6Ghz, Apache) the computer hangs a little now and then
when the script is running. Is there any good way of releasing more
memory while the script
? or does it report any errors?
what says phpinfo() about gd?
--
Sebastian Mendel
www.sebastianmendel.de
www.sf.net/projects/phpdatetime | www.sf.net/projects/phptimesheet
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, $string);
--
Sebastian Mendel
www.sebastianmendel.de
www.sf.net/projects/phpdatetime | www.sf.net/projects/phptimesheet
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sebastian Mendel wrote:
; Directory in which the loadable extensions (modules)
reside.
extension_dir = C:\PHP\extensions
I have also uncommented the
extension = php_gd2.dll
I have in the c:\php\extension folder the php_gd2.dll
I have restarted IIS but still nothing
I am using
checked the even view but no help there. What dll do you
think i would need? Please I appreciate your help.
extension_dir = c:\php\extensions\
http://www.php.net/manual/en/install.windows.extensions.php
Please do not forget the last backslash
--
Sebastian Mendel
www.sebastianmendel.de
and how I can format the text properly??
not, with any look at your code or results
try
preg_replace( '|\s*|', ' ', $string );
it will replaces any occurence of one or more white-space-characters
with one single space
http://www.php.net/manual/en/reference.pcre.pattern.syntax.php
--
Sebastian
Thomas wrote:
Is there an app out there that can easily create a relationship (flow)
diagram of a given database?
DBDesigner at
http://www.fabforce.net/dbdesigner4/
--
Sebastian Mendel
www.sebastianmendel.de
www.sf.net/projects/phpdatetime | www.sf.net/projects/phptimesheet
--
PHP
the field where PRIMARY key(news_id) is
the highest auto_increment number.
This works just as excpected on localhost but not on remote.
Does anybody know the right syntax?
SELECT `newstitle`
FROM `news`
ORDER BY `news_id` DESC
LIMIT 1
--
Sebastian Mendel
www.sebastianmendel.de
to mention, you need only the second example, the first ist just to
explain the step toward the final ocde.
--
Sebastian Mendel
www.sebastianmendel.de
www.sf.net/projects/phpdatetime | www.sf.net/projects/phptimesheet
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Don't forget to mention that even if you don't select a checkbox it will
still add a empty record to the db.. i know for sure the foreach loop
will add a record even if a box is not check, so you have to check its
actually set before you start inserting.
Richard Davey wrote:
Hello jack,
well, your trying to get the insert_id() without running the query first. so
you have to add:
mysql_query($query);
before:
$art_id = mysql_insert_id();
also, your foreach loop should be:
foreach ($media_types as $type)
(without the brackets [])
i am assuming $media_types is an array
i'm looking for a function that can highlight certain search terms in a
string. anyone have something already made that i can plugin to my
exisiting code?
I found a couple but they do not work very well.. some break html code
if the string contains the keywords in the html.
thanks.
--
PHP
is it possible for $mydata-lastinsalled to have -MM-DD format? ie:
2004-05-31
you can use strtotime to convert it to unix timestamp to
compare...something like this:
$stamp = strtotime('2004-06-31'); // $mydata-lastinsalled
if($stamp = strtotime('1 year ago'))
{
echo 'less than 1
i dont think having a + in an achor tag is standard.. but i could be wrong.
John Taylor-Johnston wrote:
I seem to have a problem with Mozilla or with IE?
echo a name=\.urlencode($mydata-district).\/a;
a name=Montr%E9al+District+%234/a
what is a safe way to clean a post/get before echoing it.
example. input form, user enters some text, hits enter.
.. next page i echo what they entered.
right now i just run the variables passed by htmlentities() which
preseves any html. is that acceptable?
--
PHP General Mailing List
yea.. takes hours... sometimes 6+ or more.
i dont post that much to the list for this reason.. if it stays like
this i'll just unsubscribe.. its pointless... this is suppose to be
E-mail, not post office mail.
Jack Jackson wrote:
Has anyone else noticed significant delays in messages
Thanks.
*test*
Rasmus Lerdorf wrote:
We found a problem caused by a recent disk failure that wiped out a
named pipe qmail needed. I am hoping the mailing list delays should be
fixed now.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
wow, got that in 20 seconds.. can we go for a record? ;)
Sebastian wrote:
Thanks.
*test*
Rasmus Lerdorf wrote:
We found a problem caused by a recent disk failure that wiped out a
named pipe qmail needed. I am hoping the mailing list delays should be
fixed now.
-Rasmus
--
PHP
you can do that with just an index.php file.
say you have a directory called 'foo' with an index.php you can do
something like this:
if($_GET['a'] == 1)
{
echo 'blah';
}
mysite.com/foo/index.php?a=1
would be the same as:
mysite.com/foo/?a=1
Ryan A wrote:
Hey,
I noticed a site that is
101 - 200 of 555 matches
Mail list logo