Depending on your mail server, you could possibly get your mail server
to run a php script on an incoming email.
Clive
Yui Hiroaki wrote:
Thank you for your response.
I try to write a code.
I actualy want to do;
1) some body send email to me; for example; to [EMAIL PROTECTED] from [EMAIL
Hi - What Al said, but you want to use the url_encode/url_decode
functions in php
Clive
Churchill, Craig wrote:
Hello,
One of the values I'm passing in a URL string contains multiple spaces.
a href=browse.php?DarScientificName=Argononemertes australiensis.../a
(The multiple spaces
Adam Williams wrote:
I'm having users enter dates in MM-DD- format. is there a way to
check if what they have entered is invalid (like if they enter
1-15-2008 instead of 01-15-2008) ?
explode() and checkdate() perhaps?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
if ($question == 'php')
domail('phplist',$question);
if ($question == 'smarty')
domail('smartylist',$question);
Hi All,
I using html_options smarty tag to output an associative array in select
drop down.
Here a sample associative array:
array(5) {
[CN-PEK-KEJ]=
array(1) {
http://www.mail4liste.de/viewtopic.php?p=259845sid=4b4f436983abded92e9a090cdea0c688
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
FlashKnowledge = 0;
phpKnowledge = 1;
I remember some time back finding a class for php and a class/unit/addon
for flash that allowed communication between php file and flash files,
just google for it
Clive
Alain Roger wrote:
Hi,
i would like to have a flash menu in my PHP website
and move your site to a linux box, it will
probably be better in the long run.
Clive
Paul Scott [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Mon, 2008-02-04 at 16:46 +0200, Pieter du Toit wrote:
I am using paradigmsolutions.co.za. I read about cronjobs, but aparently
blackwater dev wrote:
I know this isn't specific to php but I need to add some code to my php
pages to start sending out text messages. If anyone does this, how do you
do it? Do you simply use a free service like teleflip or do you use a paid
aggregator company?
I use a paid service, called
Xavier de Lapeyre wrote:
Do any of you guys gurls know of a way to implement that template
system.
Smarty ?
(The best one I know of is that of Wordpress)
Regards,
Xavier de Lapeyre
Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
at the variables you can make use of, I would imagine
$_SERVER[SERVER_NAME] might be the ones you want.
clive
echo img src=\$img_url\ width=\250\ height=\163\/;
I am certain the path is correct,
If not what are my alternatives?
R.
--
Regards,
Clive.
Real Time Travel Connections
something like might prove useful, I
doubt they wrote it themselves, then again maybe they did.
--
Regards,
Clive.
Real Time Travel Connections
{No electrons were harmed in the creation, transmission or reading of
this email. However, many were excited and some may well have enjoyed
Yamil Ortega wrote:
Lets say that I have the next structure on my web directory
/file1.php
/procces/file2.php
/file3.php
http://localhost/apache2/file1.php
try this:
header( refresh:'3'; url=./apache2/file3.php);
Regards,
Clive.
--
PHP General Mailing List (http://www.php.net
Yamil Ortega wrote:
Ok, but what happens if I change server and there is no more apache2
directory?
Do I have to change all the headers in my 37 web pages?
do this:
// in a config file, or header file
$sitename = http:/localhost/apache2/; eader file
// whereever it is needed
a friend of mine demo'd code that he had written many years ago in perl
to solve this exact problem, he converted it to php a few years ago for fun.
Im going to try and get him to enter the competition.
Clive
{No electrons were harmed in the creation, transmission or reading of
this email
why don't you run it and find out. with errors turned on you will have
quickly found out if it worked or not
$filelinks=t3lib_div::_POST('file_name'); // the posting of the file name
ok Ive never seen syntax like that before, maybe some else can help,
looks like your doing this code from
svn is what I prefer.
clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
would store them in directories and sub directories.
-
--
Regards,
Clive.
Real Time Travel Connections
{No electrons were harmed in the creation, transmission or reading of
this email. However, many were excited and some may well have enjoyed
the experience.}
--
PHP General Mailing List
?php
class money
{
LOL, a penny saved is a penny earned
--
Regards,
Clive.
Real Time Travel Connections
{No electrons were harmed in the creation, transmission or reading of
this email. However, many were excited and some may well have enjoyed
the experience.}
--
PHP General
ok this one should be easy:
?
$animal = array (pig,cow,bat,chicken,dog);
for ($i = 0; $i sizeof($animal); $i++) {
$sighted = ($animal[$i] != bat ? see : blind);
}
?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Xell Zhang wrote:
for ($i = 'A'; $i 'Z'; $i++) {
echo $i . ' ';
}
Rather do it like this:
for ($i = 65; $i 91; $i++) {
echo chr($i) . ' ';
}
--
Regards,
Clive.
Real Time Travel Connections
{No electrons were harmed in the creation, transmission or reading of
this email. However, many
Man-wai Chang wrote:
I asked here because I believe good PHP programmers are usually
well-versed in client-side stuffs. :)
That comment reeks of NLP :)
clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
| `-- php.ini
`-- cli
`-- php.ini
--
Regards,
Clive.
Real Time Travel Connections
{No electrons were harmed in the creation, transmission or reading of
this email. However, many were excited and some may well have enjoyed
the experience.}
--
PHP General Mailing List (http://www.php.net
you need to split up your posted variable
clive
echo HTML
tr
td bgcolor={$rowColor}ID#, {$row['id']} /td
td bgcolor={$rowColor}TicklerName, {$row['task_name']} /td
td bgcolor={$rowColor}Instructions, a
href='{$row['task_desc']}'Instructions/a/td
td bgcolor={$dowColor
Hi Chris,
I recreated a new connection in faq.php and it's working now.
I had the impression that 1 connection could last during a user session,
but apparently a user session may need many connections.
Thanks again, Cor
Have a read on persistent connections
Regards,
Clive.
{No electrons
until it creates the
socket or times out.
I want to know if there is a replacement for fsockopen that attempts to
open a socket, but returns immediately instead of blocking or is there
another way to open a socket in a non blocking mode in PHP 4
thanks
Clive.
--
PHP General Mailing List
(tedd at sperling dot com).
tedd
--
Regards,
Clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
clive wrote:
tedd wrote:
At 9:00 AM +1000 9/27/06, Choy, Wai Yew wrote:
Like to get some advice from you guys...
I've a html form page and the Action is link to a php script to
process the form dataI would like to have a progress bar once the
user hit the Submit button...The php script
javascript to do that. Oh
wait, I did.
tedd
True, I just clarified it a bit , I hope, by adding the info about
flushing the javascript updater thing from your php file.
--
Regards,
Clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Peter Lauri wrote:
Hi,
Do you have any suggestion on WebMail clients written in PHP that is good
and easy to install?
Horde IMP and SquirrelMail is two that I found.
Are there any AJAX supporting client?
roundcube
/Peter
--
Regards,
Clive
--
PHP General
.
--
Regards,
Clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
what every you place between them.
clive
So, how to apply the echo tag for it ?
Remark:
$dir is php variable...
Edward.
J R wrote:
echo 'a href=javascript:popup(\'index.htm\') Test /a';
On 10/9/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Dear All,
How to apply the following
/readme.htm
Please help, thanks !
Edward.
does $dir have a value ?
probably nothing to do with php, does your page work if there was no php
code in it and if you replaced
?php echo $dir? with a page url.
and go through some tutorial on php !!!
--
Regards,
Clive
--
PHP General Mailing List
*Telephone:* +27 (021) 469 1052
*Mobile:* +27 (0) 72 441 3355
*Fax:*+27 (0) 86 681 5885
*
Web:* http://www.zlogic.co.za
*E-Mail:* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
--
Regards,
Clive
--
PHP General Mailing List (http://www.php.net
, date(m) + 3, 0, date(Y));
--
Regards,
Clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/option;
much easier to read, but slightly more taxing on the server.
--
Regards,
Clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sancar Saran wrote:
If page has some errors it stop producing any error messages. Neither page nor
syslog.
have you looked at the error_reporting setting in your php.ini file.
perhaps set it too E_ALL, mine was set to E_ALL ~E_NOTICE by default
on ubuntu 6.10.
--
PHP General Mailing
African I know), then again the weather
affects our bandwidth and then again google.com loads with a second so I
reckon its something else.
Can you check the server loads and perhaps find out what sort of
connection the box has?
Clive
--
PHP General Mailing List (http://www.php.net
Mel wrote:
I do have a book with the help of which I made this site and I have been
working on it for many many weeks. (ashamed to say exactly how many!)
Remember your first ever php site?
No
I am sure there are things even you don't know or understand and that
you can use help from other
anymore, unless your
accessing a wap page with brick.
clive
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Current code:
$query = SELECT subject FROM table ORDER BY subject asc;
$result = mysql_query($query);
I dont seen any php code to do any sorting,just a mysql query, perhaps a
mysql list or maybe you should try doing it in php yourself first.
Not that I know the answer, but mysql does have
Richard Lynch wrote:
On Fri, November 3, 2006 3:14 am, clive wrote:
The closest I can come is with a deck whose entire contents spew out
at once to a handset:
Is there any reason why you insist on using WAP 1.X?
clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Richard Lynch wrote:
On Fri, November 3, 2006 3:14 am, clive wrote:
http://www.acousticdemo.com/nationalsystems/pizzahut.com/wap/index.wml
tried the url on my nokia 6230i and get your first card displaying
correctly.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
tedd wrote:
Mark:
Why should it make any difference where you set it up?
differant countries and there banks have different policy's when it come
to online credit card transactions.
tedd
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Eric wrote:
I was looking for some ways to speed up the execution of my code. Im
connecting to and displaying information from a newsgroup via sockets.
The socket_recv's are slowing it down. What things other than the
socket_recv's can I change to make the code faster. Just general tips.
Pieter du Toit wrote:
Hi guys
I have a website that is being crawled or whatever and i have a submission
form for an event.
I keep on getting random mail from this form.
I have even disabled the submit button on the form, but keep on getting it.
What can i do?
you could use a CAPTCHA
Richard Lynch wrote:
So far, in my limited reading, it seems like more than a few people
are saying the 1.x-only handsets are still out there
yes true, just remember the 80/20 principle, how many of those older
handset user will be using this wap site, actually depending on what you
want to
Kevin wrote:
Does anyone know how google have done this? or does anyone know any PHP
equivalents, we are using the Windows IIS server.
They employ some very clever people :) your best bet is to find a
command line tool that can do what you need, then simply call this from php.
Thanks
appear ?.
Just remember there must be nothing else in the php file before
session_start(); not even blank lines.
and have a look if your php is set to display errors, they may give you
a clue
clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
you to connect directly
to a smtp server, so you can bypass the php mailer function.
what can also to do is write all the info your about to email to a log
file, this way you could at least see what these spammers are doing.
clive
--
PHP General Mailing List (http://www.php.net
Kris Leech wrote:
I have an SQL query which has a simple join, this works and is fine the
fields from the secondary table are added to the returned array. But
what happens if I add another JOIN to a table which has fields which are
the same name? Is there any way to have PHP prefix the key's
clive wrote:
1. This is a SQL question and not a php one.
2. select a.name as aname, b.name as bname, c.name as cname where
a.id=b.id and a.id=c.id from a,b,c
oops beer gone to my head, the from should come before the where as most
of you I'm sure know.
--
PHP General Mailing List (http
Dave Goodchild wrote:
You would use cURL to achieve the things cURL is built to achieve?
Wow that answer is not even worth the calories your burned type it.
Theres not such thing as stupid questions, only stupid answers
In your case this phrase holds some truth.
--
PHP General Mailing List
Larry Garfield wrote:
On our new devel setup (SQL Server 2k, OpenTDS ODBC driver, Apache, PHP
5.1.6), it works fine. On their new live setup, however, (same, but again
not sure of the ODBC driver) they're getting the dreaded squares or question
marks or accented characters that signify a
Stein Ivar Johnsen wrote:
Hi..
How can I hide Warning messages so they are not shown on screen..:
look in your php.ini file and set error_reporting to an appropriate value
or
set display_errors to off
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Stein Ivar Johnsen wrote:
I have tried error_reporting(0); but this does not help. The program is
still writing warnings to screen.
My ISP is using PHP Version 4.3.10 if that is any help.
I have no access to the PHP.INI file.
Any more ideas, please?
fix the code thats generating the errors?
Ross wrote:
I have a database and it needs to get backed up on a daily basis. Is there a
class that allows me to create a backup and then save it as a .sql or excel
or both to a folder of her choice?
cron and mysqldump or pg_dump
--
PHP General Mailing List (http://www.php.net/)
To
http://www.php.net/manual/en/function.array-search.php
and look at the first User Contributed Notes.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jochem Maas wrote:
I have been trying to figure out how to use exec to run some commandline
scripts (some perl scripts mysql in this case) WITH the output of the commands
run via exec being shown on the screen.
have you tried shell_exec ?
clive
--
PHP General Mailing List (http
Ross wrote:
Anyone got a script so I can count clicks on adverts. Doesn't have tosve to
myqsl or anything just a text file will do.
What about using mysql, but use a memory resident heap table, then every
once in a while write this to a file or even better to a myisam table
Ta
Ross
Mark Kelly wrote:
Am I crazy to make an extra effort in my code to make the generated HTML
pretty? By this I mean linebreaks, indentation etc. - stuff that is aimed
at readability rather than correctness. This is obviously above and beyond
simply making sure it validates. It's not a huge
cajbecu wrote:
i suggest you:
database.conf (the file on another server)
host=localhost
user=test
pass=test
anothervar=anothervalue
have you thought of the security implications of this, a text file with
user names/passwords, thats rather insecure I would say,
on your script:
$temp =
Scott wrote:
Hi all,
I've been searching around for a while, but cannot find a solution. For
a project of mine, I need to keep the connection information to a MySQL
server database on another server.
?php
include http://www.remoteserver.com/remote_file.php;;
// Use variables $user and $pass
sending the email , via smtp or sendmail or what ever mta is
on the system. With the MTA it should be que'd. Id you get an error with
the MTA then something is very wrong
Why cant you save the email in a file or a database and then send it
later your self?
clive
--
PHP General Mailing List
William Stokes wrote:
Hello,
Can someone tell me what wrong or to how to manage this?
//default
$limitorig = 10;
echo select name=\USRlimitorig\;
echo option selected value=$limitorig/option;
echo option10/option;
echo option20/option;
echo option30/option;
echo input type=\submit\
Jim Lucas wrote:
Seems like this list has slowed down alot.
Anybody else notice this, or am I just missing something?
jl
well it is almost the end of the year perhaps some people are on holiday
already?
clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
.
You could also have a hidden form variable that has some random value,
once used, it cant be used again.
clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ali Nasser wrote:
can you please check these out and tell me if there another way without
installing externsions??
no sorry I cant check for you!
I presume you mean you see all the print_r's for each row and that you
only see one row echo'd out in your html?
You have your brackets in the wrong place, it should be something like this:
if ($f_date != ) {
while($row = ifx_fetch_row($info)) {
//set your variables
//echo
I presume you mean you see all the print_r's for each row and that you
only see one row echo'd out in your html?
You have your brackets in the wrong place, it should be something like this:
if ($f_date != ) {
while($row = ifx_fetch_row($info)) {
//set your variables
//echo out
just want to
know how others are doing this?
If are using a specific method and know it to be robust and up to date
please let me know.
Thanks
clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
('interceptor',$__SERVER[REQUEST_URI])) {
// url
} else {
//probably included
}
but I would like to know if there is a neater, cleaner, sparkly way of
doing this.
Thanks
Clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
actually $_SERVER[script_name] is probably better if not being used from
a webserver.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Per Jessen wrote:
We use md5 for that sort of thing.
there is also SHA-1 bit more overhead, bit more secure than md5
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi I know the new microsoft docx format is an xml document, so you could
probably use the xml parser with that.
Any chance you can get them to use a rtf file instead of a word file to
convert to pdf, rtf is mostly readable text with some control words
thrown in for formatting.
clive
Ashley
Define a class function and pass the array via this function or pass it
via the classes constructor.
VamVan wrote:
Hello Guys,
I have a problem here. I hope you can help me resolving it.
Please see the code below
array.php has $array1 = ('hello'='heelo',)
require_once('array.php');
class
give it a wipe not that I wouldn't.
Clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
before, bulksms.com and I know they
have good coverage of the globe.
Some mobile operators allow you to send a text to their users as an
email for free ,ie [EMAIL PROTECTED],
Clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Rahat Bashir wrote:
I need your help on writing a MySQL query.
I see nothing php related in your question, try a mysql list.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hope so..
Anders.
I dont think you can do that with a constant, but you can do this a
normal variable:
$test = 'the value of test variable';
$var ='test';
echo $$var;
// will echo $test;
Clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
I dont think you can do that with a constant, but you can do this a
normal variable:
I stand under correction form my previous email, it can be done:
define('TEST', 'the value of constant TEST');
$var= 'TEST';
echo constant($var);
--
PHP General Mailing List (http://www.php.net/)
To
into there.
Clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Robert Cummings wrote:
It depends on the data. Certainly for student enrolments I would want a
paper trail (so to speak) and would just set a status field. But if it
was say, an online shopping cart or cached data... I'd just purge it.
Cheers,
Rob.
yes - you are right, I was just thinking
through to one of the developers of there payment gateway
system, he was able to a make a few changesto the xml I sending and just
like that I was able to process payments.
Move providers
Clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
used a small program called
batchprintpro. It simply monitors a directory and prints any new file
that should appear. Its quite configurable and seems stable enough to
print a few hundred documents per week.
Clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Merlin Morgenstern wrote:
Has anybody an idea on how to do this? Thank you for any hint.
I searched for this in google linux watch for new files
and found this: http://www.linux.com/feature/150200
Clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Richard Heyes wrote:
Is there something in PHP5 which can generate the RSS feed?
You don't need an extension to help you generate an XML feed. You
dimply output XML data instead of HTML and send an appropriate content
type header, eg:
header('Content-Type: text/xml');
I was just
Rahul wrote:
I have EasyPHP installed on my Windows system and can connect to the
php+mysql using localhost in the browser but I was wondering if I can
connect to this computer (which is at my office) from my home. I have
a web address alloted to my computer at office.
If that 'web
is logged out and
from what file they were accessing with they got logged out, there is no
discernible pattern, Im stumped,
Does anyone have any idea how the session variables can be disappearing?
Clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
c...@l-i-e.com wrote:
Are you perhaps storing the session data in a DB?
No its using the file system
If the field type is, say, text, and you put something large in $_SESSION,
you'll have truncated data, the session manager can't unserialize it, and you
will have a silent failure when
Ideally you want the document to print with the least amount of click or
without having to open up 3rd party applications, would it be possible
for the server to print to documents, I have done something like this
before on a windows machine.
Clive
Paul M Foster wrote:
I'd like a side
the sess_
file sometimes.
Clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
this functionality to IIS 6, some are free and some paid for, Im
currently using Isap/rewrite from helicontech which works for my needs (
zend framework).
Clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
in the master without the class deciding which one it should run on
Clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ashley Sheridan wrote:
On Sat, 2009-01-24 at 10:14 +0200, Dora Elless wrote:
That's why I am sending this email only to people I know and care
about.
And they send to a mailing list. Come again?
So Funny, they went through all the trouble of signing up, unless hey
have bots now
Dora Gaskins wrote:
If you have received this email, take a time to really read it carefully!
American Gov Money
More spam, can't we have the maillist software require people to
register before posting?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
If your using firefox, are you sure its not some addon, does this URL
appear in the HTML source?
Clive
Terion Miller wrote:
I noticed yesterday that sometimes I was seeing a strange url passing at the
bottom of the browser when clicking around my site I'm working on while
watching the page
there are double line between paragraphs.
Its almost like the textarea is putting in a extra \n, how can I test
for this or fix this problem.
Regards,
Clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks
Ive tried it and waiting for feed back from the client on my pc it shows
correctly ,Im using thunder bird on his computer he uses outlook, but
Ive sent it to other people who have outlook and its fine on there PC.
Does the html textarea add in \r.
clive
Barry wrote:
clive wrote
You could also look at using a templating engine like Smarty for instance.
clive
blackwater dev wrote:
I have a chunk of html data that I want to output for each iteration through
a db result
while($result){
$list.=file_get_contents(my_template_file.php);
}
return $list;
The template
Hi
does any one have code/examples for unzipping a file thats been uploaded
to a server. I would prefer a class rather than something that uses
zip.lib as it may not be configured on the server.
clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
1 - 100 of 161 matches
Mail list logo