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
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:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
('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
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
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
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:
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
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
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
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,
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
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
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
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
?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
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
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
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
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
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
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
(http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
No virus found in this incoming message.
Checked by AVG Free Edition. Version: 7.5.467 / Virus Database:
269.7.0/803 - Release Date: 13/5/2007 12:17
--
Regards,
Clive.
Real Time Travel Connections
{No electrons
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
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.}
--
PHP General
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
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 some may
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 unsubscribe, visit
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
,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 General Mailing List
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
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 List
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
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
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
the property
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 have
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
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 don`t know the answer
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
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 enjoyed
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
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
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 harmed
, they are 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
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, transmission
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 enjoyed
the experience
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 experience.}
--
PHP General Mailing List
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
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
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
?php
ob_start();
include( 'someFile.php' );
$content = ob_get_contents();
ob_end_clean();
?
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:
?php
ob_start();
include( 'someFile.php' );
$content = ob_get_contents();
ob_end_clean();
?
no I think he needs file_get_contents();
While that will certainly read PHP into a variable, it won't evaluate
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
, 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
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. I dont really
try using this, from php manual, clive
?php
echo filetype('/etc/passwd'); // file
echo filetype('/etc/');// dir
?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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!
.
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
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
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
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
1 - 100 of 161 matches
Mail list logo