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
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
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
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
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
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
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
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
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
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'
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
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
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
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
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
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
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
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
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
fully 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
f I should 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
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
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
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
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
('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
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
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
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
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
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
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
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
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
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) {
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
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
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 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
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
-- 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
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
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,
ok this one should be easy:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
svn is what I prefer.
clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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
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
what on earth is happening here???
Any suggestions most welcome...
Clive
Clive Gould
HE PAL ICT
Bromley College
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
{
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
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
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
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
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
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
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
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
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
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
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
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
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:/
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
[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
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
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
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
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
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
edgy eft.
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
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
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
try using this, from php manual, clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
.
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
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
William Stokes wrote:
Hello,
Can someone tell me what wrong or to how to manage this?
//default
$limitorig = 10;
echo "";
echo "$limitorig";
echo "10";
echo "20";
echo "30";
echo ";
firstly its better to use 10
this might also solve your problem if I understand your question correctly.
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
1 - 100 of 163 matches
Mail list logo