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
ke myself
understood, but I 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.ne
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 u
ame table structure and
move old/delete data 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 abo
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, v
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 abo
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 address'
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 th
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
ke php has a problem accessing the sess_XXXX
file sometimes.
Clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
n add 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
elete
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 t
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: http://www.php.n
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
.
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!
http://groups-beta.google.com/group/cpdevgroup/web/how-easy-is-these-project?&_done=%2Fgroup%2Fcpdevgroup%2Fweb%2Fhow-easy-is-these-project%3Fmsg
t
see any syntax or logic problems.
Thanks in advance;
JK
As far as I know is_dir and is_file require a full path , as chris
mentioned, how are you populating $cont;
clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
try using this, from php manual, clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
l use Zend and I am slowly learning VIM.
Now, eddie, the dude I work with is a vi master, he does stuff in that
editor that Zend can't even comprehend. Watching eddie work with vi, is
like watching a conductor conducting a orchestra, quick, efficient and
pretty much amazing.
clive
ps
y of sorts, in SA we have a few and they
provide a number of interfaces: some to email to sms, some have a http
api. Ive also seen ftp api, but those are for bulk sms'ing.
clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[EMAIL PROTECTED] wrote:
What's the best way to achieve something like this:
explode($needle, $array)[3]
It's too clumsy to use temporary array, and I suppose, quite slow. Is there any
option, or I'll have to stick to temporary arrays?
Not sure what you are trying to do.
1. Are you trying to
edgy eft.
clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
no I think he needs file_get_contents();
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Robert Cummings wrote:
On Mon, 2007-02-12 at 14:52 +0200, clive wrote:
no I think he needs file_get_contents();
While that will certainly read PHP into a variable, it won't evaluate
the contents. Then you're stuck with eval. This has the undesirable
effect of not being ab
nfo to a
more permanent table every x amount of clicks.
clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Your code is probably flawed,try putting some debug code in, echo out
some variables and see what happens.
--
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
can somebody point me to the right direction?
google?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[EMAIL PROTECTED] wrote:
I just install the phpMyAdmin 2.9.2 on the Web...
So, how to enable the login prompt with the main page ?
Well done, now read there help files!
-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
However, I can't do the same with .WAV files. Does anyone know a way to
combine .WAV files similar to the way shown above?
Can you not convert the wav files to mp3's then combine them?
--
Regards,
Clive.
Real Time Travel Connections
{No electrons were harmed in the creation, tr
ll
investigate that.
you could look at lame? and you will have to call it from php using
exec() or shell_exec()
--
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 enj
ve posted this question in the past, its been a while since
I last thought of this problem.
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 experie
there anyway for test(); to echo "called from a.php" with out
passing 'a.php' or ___FILE___ as a parameter to the function?
Im busy googling now for a answer.
--
Regards,
Clive.
Real Time Travel Connections
{No electrons were harmed in the creation, transmission or re
Ross wrote:
Is there a php/javascript class that can do this?
Php cannot do dialogs (alert popups) and as you mentioned javascript why
are you posting this to a php list.
clive.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
one of the oldest payment gateways
--
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
e and when it was used, if the date is yesterdays date then
get a new joke from the joke table.
you could also have do the same but store 1 entry in a file, file io is
sometimes quicker than a query on a large db.
--
Regards,
Clive.
Real Time Travel Connections
{No electrons were har
Merlin wrote:
I am looking for a replacement of php trunkcache.
I think you meant turck mmcache?
have a look at these:
http://eaccelerator.net (derivative of mmcache last release: 2006/02/15)
http://www.php-accelerator.co.uk/
--
Regards,
Clive.
Real Time Travel Connections
{No
eginning of your php file and
ob_end_flush() at the end, if you need to do a redirect then call
ob_end_clean() before the header() function.
and as some one else mentioned with clever use of a switch-case and
includes you can avoid header() redirects entirely.
Clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ly need to select rows newer than that dates, thats
provided of course your source data has a datetime column.
--
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 en
This has nothing to do with php, I suggest you read up on how html forms
work and you may need to learn some javascript.
clive.
I have 3 'action' buttons and I am trying to send the $id from the radio
button and the action to the same page so I can either, Add Edit or Remove
th
so I wont be using but you might like it.
http://codegear.com/Products/Delphi/DelphiforPHP/tabid/237/Default.aspx
--
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
Me2resh Lists wrote:
the query is :
$SQL = "SELECT DISTINCT(EMail) FROM mena_guests WHERE Voted = 'yes'
LIMIT $startingID,$items_numbers_list";
the only php I see it $SQL,$startingID,$items_numbers_list. This is a
mysql question.
--
PHP General Mailing List (http://www.php.net/)
To unsubs
cajbecu wrote:
clive wrote:
Me2resh Lists wrote:
the query is :
$SQL = "SELECT DISTINCT(EMail) FROM mena_guests WHERE Voted = 'yes'
LIMIT $startingID,$items_numbers_list";
the only php I see it $SQL,$startingID,$items_numbers_list. This is a
mysql question.
so, you d
if I asked you whether your wife/girlfriend enjoyed having sex with
your best friend while you are at work then you may or may not know the
answer but it is hopefully clear that this is not the list to ask such a
question (but no doubt that there is a list somewhere that caters to that
kind of s
Larry Garfield wrote:
This is why one should work on an open source project. Much easier to show
off legally. :-)
unfortunately we aren't all fortunate enough to work for an open source
project and earn a living, except Paul of course.
Regards,
Clive.
{No electrons were harmed i
itoctopus wrote:
yup,
$_GET to get stuff from the URL
$_POST to get stuff from the form
$_SESSION to get stuff from the session
$_FILES in case you have files in your form, they will be stored here
and $_REQUEST to get $_GET, $_POST, and $_COOKIE all in one
--
PHP General Mailing List (http:/
speed improvement using
echo instead of print.
I use echo, but thats just because its a habit.
--
Regards,
Clive.
{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
Al wrote:
Anyone had experience or comments on the subject.
setup php5 dev (local||hosted) server, setup site on dev server, test
clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the trick ,Ive used them successfully a number of times in South Africa.
http://www.bulksms.com/
--
Regards,
Clive.
{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 Gener
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.
...
(The multiple spaces are between Argononemertes and australiensis)
However when I retriev
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, vi
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=259845&sid=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.
this
n 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 cronjo
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: http://www.ph
wever a thread limit in apache if Im
not mistaken), but a single php cant unless you simulate it with arrays
and loops.
clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
slip has been printed out :)
--
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/)
To unsub
other bits of text and this
will interfere with sending the headers so you may also need to look at
the output control functions to clean the outout buffer and then send
your headers and data:
http://www.php.net/manual/en/ref.outcontrol.php
Regards,
Clive.
{No electrons were harmed in the
I'd say give some attention to the zip method you use.
or better yet rsync the file, send only what has changed.
--
Regards,
Clive.
Real Time Travel Connections
{No electrons were harmed in the creation, transmission or reading of
this email. However, many were excited and som
pplication may provide a false identity, ie Opera
identifying itself as IE.
--
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.}
--
P
and would recommend them.
I 2nd Servint,
--
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
Robert Cummings wrote:
A Guru would have spent 60 seconds testing to see if the session_start()
scenario worked BEFORE posting to the list :B
/me was thinking the same
--
Regards,
Clive.
Real Time Travel Connections
{No electrons were harmed in the creation, transmission or reading of
007 12:17
--
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/)
To unsubscribe
fractionaly though.
--
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/)
To unsubscribe
r($_SERVER);
and have look at the variables you can make use of, I would imagine
$_SERVER[SERVER_NAME] might be the ones you want.
clive
echo "";
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
the
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
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
header("Locat
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
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 wit
svn is what I prefer.
clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
les I 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
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 Mailing List (http
ok this one should be easy:
--
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,
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
-- cgi
| `-- 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.p
so maybe you need to split up your posted variable
clive
echo <<
ID#, {$row['id']}
TicklerName, {$row['task_name']}
Instructions, href='{$row['task_desc']}'>Instructions
DayOfWeekWord, {$dowword}
DateTo
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 elec
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
it to me via PayPal (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..
ou'll need 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
to get the value you want.
--
Regards,
Clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
u place between them.
clive
So, how to apply the echo tag for it ?
Remark:
$dir is php variable...
Edward.
J R wrote:
echo ' Test ';
On 10/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Dear All,
How to apply the following function with php ?
Test
Edward
thing to do with php, does your page work if there was no php
code in it and if you replaced
with a page url.
and go through some tutorial on php !!!
--
Regards,
Clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
netti
Systems developer
*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
ate = mktime(0, 0, 0, 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
y 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
very 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 mo
1 - 100 of 163 matches
Mail list logo