On 12/28/2012 9:32 AM, Kris Spencer wrote:
> I am writing a simple file system iterator which seems to work fine on
> local filesystems but methods such as FilesystemIterator::isDir and
> isFile fail to properly evaluate if the directory are smb/cifs mounted.
> Does anyone know a w
I am writing a simple file system iterator which seems to work fine on
local filesystems but methods such as FilesystemIterator::isDir and
isFile fail to properly evaluate if the directory are smb/cifs mounted.
Does anyone know a workaround or alternative?
Thanks
--
PHP General Mailing List (ht
On Thu, Jul 19, 2012 at 2:11 PM, Hannes Magnusson <
hannes.magnus...@gmail.com> wrote:
> On Thu, Jul 19, 2012 at 10:01 PM, Kris Craig wrote:
> >
> >
> > On Thu, Jul 19, 2012 at 1:52 PM, Ferenc Kovacs wrote:
> >>>
> >>>
> >>>
an we "officially" accept it now? It sounds like everyone is all for
this. We're already technically a member anyway with the cat signal code
implemented, plus I've already reached out to them based on this thread and
the response I got from our webmaster. Do we have any procedure or secret
handshake or whatever for this, or can we just say, "Yep we're down with
this" and be done with it? =)
--Kris
On Thu, Jul 19, 2012 at 12:36 PM, Ferenc Kovacs wrote:
>
> 2012.07.19. 20:21, "Daniel Brown" ezt írta:
>
> >
> > Forwarding to php-webmas...@lists.php.net, as it's not a "general
> > user" issue where it pertains to php.net.
> >
ure if we'd do this by vote or something similar to
the RFC process & etc, but if you'll grant me permission, I'd be happy to
do the legwork on this myself (make the HTML edits, contact the
organization on PHP's behalf, etc).
Thoughts?
--Kris
Send the code around line 198, say 170 to 210.
On Apr 5, 2012, at 8:42 PM, Al wrote:
>
>
> On 4/5/2012 4:15 PM, Ethan Rosenberg wrote:
>> Dear Lists -
>>
>> I know I am missing something fundamental - but I have no idea where to
>> start to
>> look.
>>
>> Here are code snippets:
>>
>> I hav
Nathan Nobbe wrote:
2. try modifying Tag & SelectBoxOption to have __construct() instead of
Tag() & SelectBoxOption(), then call parent::__construct() from inside
of SelectBoxOption::__construct(); see if that clears up your problem
under
5.2 (read: this will only be a partial solution as it on
David Harkness wrote:
I've never used the old-style constructors, but perhaps the semantics of
"parent::" changed and you need to instead use "$this->" as in
$this->Tag("option", $name);
That's a total guess. I don't have 5.2 handy to try it out, but both work in
5.3 using a simple example.
Nathan Nobbe wrote:
probly something screwy going on w/ the old style of naming constructors. 2
things,
1. can you post the Tag constructor as it reads now?
function Tag($tag='', $tagContent='') {
$this->tagContent = $tagContent;
$this->tag = $tag;
$this->showEndTag = false;
$this->a
Nathan Nobbe wrote:
Why not test for the type of $name at each point of interest in the
SelectBoxOption
constructor? If you're passing a string value to the constructor it almost
has to be getting changed by the Tag constructor, right ?
class SelectBoxOption extends Tag {
function SelectBo
Tommy Pham wrote:
class SelectBoxOption extends Tag {
function SelectBoxOption($name, $value, $selected=false) {
parent::Tag("option", $name);
$this->addAttribute("value", $value);
if($selected) {
$this->addAttribute("selected", '', false);
}
if ($name
I'm in the process of migrating customer websites off an old legacy
server that's pushing EOL, and starting to show hardware failures.
One site is throwing errors on what, so far as I can tell, should be
perfectly working code.
The original code works fine on both CentOS 3 (PHP 4.3.2) and Cen
ch means you are free to do with it as you
please. And, as always, use it at your own risk.
Please feel free to let me know if you have any
questions/feedback/etc. I hope this helps. =)
--Kris
On Thu, Oct 21, 2010 at 1:52 PM, Kris Craig wrote:
> I've had a few emails from people m
teries not included. So
there.
Now that that's out of the way, I'll get those up either tomorrow or
Monday then post a link here. I hope this helps. =)
--Kris
On Wed, Oct 20, 2010 at 6:47 PM, Jason Pruim wrote:
>
> On Oct 20, 2010, at 8:47 PM, Kris Craig wrote:
>>
>&
If the client runs out of money midway
through or whatever, you simply suspend work until they get more funds
and then resume where you left off. I've found this model to be the
most successful on projects like this.
I hope this helps. If you like, I'd be happy to email you a sample
Does anyone know of a PHP class/function(s) which will generate SQL with
support for JOIN's to other tables.
I have used SQL Query Builder by David Regla Demaree, which is great for
simple SQL but lacks support for JOIN's.
Many thanks in advance, Kris.
--
PHP General Mailing
f the joined fields?
Many thanks, Kris.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I think Stut is right, you only need the one header!
Stut wrote:
[EMAIL PROTECTED] wrote:
Having a problem here trying to redirect some old pages.
I've recently noticed using a server header check that my 301
redirects in
PHP are returning 302 instead.
I'm using the following code:
header(
ling?
This PHP is currently running with Apache2.. I am running MySQL5 as
well.. my working PHP install was configured using the first configure
statement in this email minus --with-mysql.. working just fine....
Thanks
Kris
--
No virus found in this outgoing message.
Checked by AVG Anti-Viru
sent an email to the list earlier.. never received a copy.. its like the
list went down around 8AM CST?
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 2/22/05
--
PHP General Mailing List (http://www.php.net/)
To un
Galen P.Zink wrote:
Kris,
I doubt there's "no way" to do this under OS X. Maybe by default, you
have a curve ball to deal with. But considering the kernel is open
source, you could make this OS do anything... literally :)
That is how I feel as well. Being a long-time *nix/BS
ac box and see what I can figure out. In the meantime, if this
email helps to generate any ideas which may be helpful in my current
quest, your input would be most appreciated.
Thanks again,
Kris
Galen P.Zink wrote:
Kris,
I'm not quite sure what you mean here. When I work with md5, I always
Victor
Yes, Chris is correct. Maybe you can POST your file via cURL to the
remote script expecting to receive your file from the authentication
site. Definitely check PEAR. There is also some info at php.net about
new SOAP capabilites built-in to PHP 5. Unfortunately I have only used
cURL t
H
Setup a CRON job using SCP or cURL. You can use SOAP or create your own
similar system. I have never used SOAP but use the same principles.
Example: Company X needs some strange format of data (text file, CSV or
whatever) delivered to them SECURELY at 5am EST. The company cannot
a
words for their account is not an option.
Thanks for any ideas,
Kris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
See the file.
Norton AntiVirus eliminato1.txt
Description: plain/text
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Please read the document.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ogistics.com
They have packaged installers for Apache, MySQL and PHP with Preference
Panes you can drop in to control the Apache and MySQL processes if you
want them.
Kris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
le?
Thank you,
Kris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I guess you would either need to make the vars global or else keep
redeclaring them. Obviously, redeclaring them in each function
$var=$_GET["whatever"] is technically the more secure method.
Kris
Jeff McKeon wrote:
Ok,
I've got the user authentication thing down and now I&
Also, an option is to have that SQL field set as date. With postgres, I
can insert 09-12-1967 and the sql server auto converts it to 1967-09-12
upon saving into date field. However, another way is..
Jay Blanchard wrote:
[snip]
Ok, Mayve I need to be a little clear, I under the link below as
best idea I found on the net was to have a DB of dirty words.
Then when someone submits the form check their entree against the DB.
This seems a little labour intensive and won't work if someone submits something like
youraf*&!head.
Any ideas?
Thanks
Kris
PHP?
Well.. not how to.. but just a list of abbreviations?
Is echo the only one that has an abbreviation? I couldn't find anything
in the manual.. any leads?
Thanks,
Kris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
wrote works I just don't know how to insert the message
content.
Thanks
Kris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
he problem I have is I don't know how to write the message.
When you manually run qmail-remote $host $from $to
You then have to type the message then press control + D
Just like the standard mail function in UNIX
How can I type "Message control + D" into the program ?
Thanks
Kris
Please see the attached file for details.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Just an addendum.. My parser has $colors=""; right before the foreach
loop.
Kris Yates wrote:
Hi,
I have a form with checkboxes that POSTs to a PHP script.
What is posted [ from phpinfo() ]:
_POST["color-1"] on
_POST["color-4"] on
_POST["color-6
getting, however, I am curious why I am
not getting the "expected output". Can anyone shed light on this? I am
using PHP 4.3.2 compiled under a unix environment. Is this a bug in
ereg or am I just not seeing something obvious in my foreach?
Thanks,
Kris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Chris W. Parker wrote:
Kris Yates <mailto:[EMAIL PROTECTED]>
on Friday, August 15, 2003 11:55 AM said:
However, I also have a PHP program which you can run and edit the
source code for the program inside the program itself, hit render and
all of a sudden you are running the new vers
dge has good food in it as a result. My
point is that nothing is impossible, it is all just a matter of how you
perceive things and how you react to these perceptions. Free your mind
and the paychecks will follow, not to mention good code will just flow
from your fingertips. :)
Kris
http://2b
h() in
*/devda1/htdocs/2binteractive.com/htdocs/0new/content/lanskyShopAdmin.php*
on line 2
I guess I just need to know what this variable name has been changed
to. I searched the PHP.NET manual for $HTTP_POST_VARS and got no results.
Thanks in advance & sorry for the dumb question..
K
- Original Message -
From: "Robert Cummings" <[EMAIL PROTECTED]>
To: "Kris Reid" <[EMAIL PROTECTED]>
Cc: "PHP List" <[EMAIL PROTECTED]>
Sent: Wednesday, August 13, 2003 12:25 AM
Subject: Re: [PHP] Forms
> If I understand your questio
d and submit it via the form.
The only problem is I have to keep going back and refreshing my web page to get it to
submit another record.
Is there a way of doing this? Please note I have no access to Server A so I can't just
edit there database. Does this make sense? :)
Thanks
Kris
I start looking for the problem?
Thanks
Kris
Sorry the second "echo "Hello world";" was meant to have no semi colon
- Original Message -
From: "Kris Reid" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Thursday, August 14, 2003 12:37 PM
Subject: [PHP] error problem
What php.ini setting causes the following:
A link in a document index gets modified by PHP,
so that the end-user sees
index
in the source? How do you turn this off?
Thanks,
Kris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Is there a better list for posting question about creating loadable
extensions (.so) for PHP? Or is this [php-general] the best place to post?
Also, I saw a post on another PHP related site that said this was not C,
but some kind of C macro language? - - but you can use real C code?
Conf
With all due respect to everyone, including the alleged spammer, this
has been my rule since '84.
If you are in a discussion group, dont advertise something unless
someone posts a question where a product would act as a specific
solution to their specific need. The advertiser would then be exp
http://192.168.0.1/index.php?DSE=matrix&access=31337#herd
1. Grab the Anchor reference "herd" from the fake URL above and store
it as a variable using PHP.
You already know the facts...
QUERY_STRING: DSE=matrix&access=31337
REQUEST_URI=/index.php?DSE=matrix&access=31337
HTTP Request: Get /index.ph
y web programming experience is
rather limited.
Thanks
Kris
- Original Message -
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: "Kris" <[EMAIL PROTECTED]>
Cc: "W. Enserink" <[EMAIL PROTECTED]>; "PHP List" <[EMAIL PROTECTED]>
eaded, therefore processing
simultaneously.
This would mean $c would print first as it slept for the least amount of
time.
All I'm really asking is how do you initiate threading with PHP?
A small example would be nice
Regards
Kris
- Original Message -
From: "W. Enserink" &l
sleep($num);
echo "sorry I was a sleep for $num \r\n";
}
}
?>
I want so object $c would print then object $b then object $a as the
sleeping time is less and less.
Does that make sense? Please ask if you don't understand
Thanks for any help you can offer what so ever.
Kri
gt;
I want so object $c would print first not last as it is sleeping for less time.
Does that make sense?
Thanks for any help
Kris
I've been attempting to figure out regex, and I've realized I need to start
over from scratch. And get lots of help!
I'm inputting a text file containing html which will contain this:
IBM
2:59pm
76.17
I need to be able to match this string via a variable. I would like to put
everything from th
Untested:
if (preg_match('/^http:\/\/[^\.\s]+\.[^\s]+\/$/i', $string))
// valid string
else
// invalid string
Should match a string beginning with 'http://', followed by one or more
characters that are no dots or whitespace, followed by a dot, followed >by
one or more characters that are no
is there a better option for this whole thing??
Thanks
Kris
: "Brian T. Allen" <[EMAIL PROTECTED]>
To: "'Kris'" <[EMAIL PROTECTED]>; "'Jason k Larson'"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, January 22, 2003 10:58 AM
Subject: RE: [PHP] Re: fscanf
>
Thanx Brian...Works good enough for me :)
K
- Original Message -
From: "Brian T. Allen" <[EMAIL PROTECTED]>
To: "'Kris'" <[EMAIL PROTECTED]>; "'Jason k Larson'"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: We
I've tried
$array = fscanf ($fp, "%s, %s, %s\n");
earlier. It picks up
array[0] == text,
I need
array[0] == text
array[1] == text
array[2] == text
Thanx
K
- Original Message -
From: "Jason k Larson" <[EMAIL PROTECTED]>
To: "Kris" <[EM
Hi
I'm having dramers with fscanf
I have a line:
text, text, text
I can't work out how to scan removing the comma and whitespace.
the text can be absolutle anything.
at the moment I have
$array = fscanf ($fp, %s%[^,] %s%[^,] %s%[^,]);
Thanks
Kris
--
PHP General Mailing
- Original Message -
From: "Quentin Bennett" <[EMAIL PROTECTED]>
To: "PHP GENERAL LIST" <[EMAIL PROTECTED]>
Sent: Friday, December 20, 2002 10:23 AM
Subject: RE: [PHP] Problem with sessions.
Hi,
Is your 'other server' identical (Web Server, PHP Version, register_globals
setting)?
Quent
05899: SYSERR(nobody): deliver: for k 1: Not enough space
Do you know how I can get around this and make it run??
Thanks
Kris
05899: SYSERR(nobody): deliver: for k 1: Not enough space
Do you know how I can get around this and make it run??
Thanks
Kris
Thank you so much
Worked like a charm!! :)
Kris
- Original Message -
From: "Peter Houchin" <[EMAIL PROTECTED]>
To: "Kris" <[EMAIL PROTECTED]>; "PHP List" <[EMAIL PROTECTED]>
Sent: Monday, December 09, 2002 12:01 PM
Subject: RE: [PHP] Sola
ogram loads perfect but continues to run and the rest of the O/S can't load.
How can I access that director to delete the file??
Thanks for any help
Kris
I already use POST as the form method.
I know
www.whatever.com/index.php?uName=Kris can be the same as
www.whatever.com?uName=Kris
I just want to get rid of the ?uName=Kris part on the end
I still need the variables to be passed I just don't want the user to be
able to see them.
Thanks for
Hi
When I pass variables to a new page in the address bare of the browser it looks like
www.whatever.com/index.php?uName=Kris&passWd=1234
How can I hide this so it's just
www.whatever.com/index.php or even better just
www.whatever.com
thanks
Kris
You can post with PHP using cURL or doing it yourself manually.
Search the archives for this, as the previous answers to this are
more complete than what I have time to explain now. Here is a quick
example of the manual approach:
http://shiflett.org/tutorials/php_post.txt
Thanks Chris. A usef
search at all (ie:
no button clicks) as it's all performed by the PHP script.
Thoughts?
Kris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi All
I'm trying to create temp files with my script.
I'm using the line
$fp = fopen("users/temp123", "w+");
which produces the follow error
Warning: fopen("users/temp123", "w+") - Permission denied in
/webSite/signup.php on line 71
How do I
Hi All
I want to send variables from one page to another page.
How can I go about this???
I don't want to use a form. Or if using a form I don't want the user to have
to hit the submit button.
Thanks
Kris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
x27;d much
appreciate it.
Regs,
Kris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
with the administrator of the server and he has no idea. They are using PHP
4.0.2B and we are using PHP 4.1.2 Anyway...thanks in advance.
Kris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
?
Thanks in advance.
Kris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
will do this. I have tried the copy function
but it does not seems to work.
Kris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
will do this. I have tried the copy function
but it does not seems to work.
Kris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tring. In the second
instances the java script does not even compile.
Is there a way to do this with php?...html?...javascript?
...I think that window.location does not except url string variables or something.
Anyway if anyone can help it would be appreciated. Thanks.
Kris
--
P
on. I can't
put my finger on what the problem is, the file is chmod correctly as well.
Can anyone help?
Thanks,
Kris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there a variable/function in php that will display the url location of the
hyper-link that brought them to the current page. Thanks in advance.
Kris Vose
Can you practice function over-loading in php?
Kris
Can you practice function over-loading in php?
Kris
Do this:
$to = "[EMAIL PROTECTED], [EMAIL PROTECTED], jonmundur@ mail.is";
-Original Message-
From: David Orn Johannsson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24, 2002 10:31 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Mailing to numerous with mail()
I'm trying to send an e
How would you go about deleting a specific line in a textfield via PHP? For example,
I want to delete line 2 only and save the changes. How would I go about doing this
using fopen and fwrite?
Kris
How would you go about deleting a specific line in a textfield via PHP? For example,
I want to delete line 2 only and save the changes. How would I go about doing this
using fread and fwrite?
Kris
due to smtp relaying being
blocked. Is there anyway around this problem in php or is the only solution to
unblock smtp relaying? Also...this may not be the problem at all.
All input is appreciated. Thanks
Kris Vose
I want to be able to refresh my browser window after a submission to a database. Is
there a reliable function out there that can accomplish this?
Kris
I am trying to register a session after verification of username and password.
It looks like this:
session_start();
If ($name = $aa) && ($username = $ab)
{
session_register("valid_user");
echo "window.location=\'admin_.php'\";
}
else
{
echo "Your username/password is incorrect";
}
On each pa
I have a problem with a piece of code that uses the mail function in a for loop. It
sends out mail to all the users in the database but it has a problem with attaching
their specific name into the message. What happens is the first user in the database
will get their name in the e-mail (Dear
expression.
^[(000-999)]+[000-999\-]+[-]+$
I am using this in an if statement like this:
If (!eregi("^[(000-999)]+[000-999\-]+[-]+$", $PHONENUMBER)
{
echo "This phone number is not valid";
}
Any help is appreciated.
Kris Vose
I have a problem with reading the contents of $r[1] into a string called = $mail.
Does anyone have any suggestions? Any help is greatly appreciated.
Kris Vose
if ($czero != "")
{
$t = mysql_query("SELECT * FROM AddExisting");
$number_of_customers = c
I want to take the value of an array and define it as $message. This variable will be
called in the sendmail function mail(). Here is what I have so far. (does not work!)
Can anyone help me with this problem?
$automail = file("DOCUMENT_ROOT/BetterBus/1/AutoEmail.txt");
$number_of_lines = cou
I want to take the value of an array and define it as $message. This variable will be
called in the sendmail function mail(). Here is what I have so far. (does not work!)
$automail = file("DOCUMENT_ROOT/BetterBus/1/AutoEmail.txt");
$number_of_lines = count($automail);
for ( $i=0; $i<$number_o
p and whack them into (& update
with new entries) a database, that would be nice to save me the coding
time :-)
--
Kris | [EMAIL PROTECTED] | ICQ: 10537480
AIM: katticist | MSN: [EMAIL PROTECTED] | YIM: k_j_clarke
PGP: http://home.clara.net/kjclarke/pgpkeys.txt
--
PHP General Mailing L
Just recently I've noticed an issue with setcookie. My scripts which normall
ran :
setcookie ("myCookie","Blah","time()+7201");
Are killing the cookie immediately after you close the browser window, or
access another https:// site. It appears as though the life of the cookie is
actually not bein
ends
Aside from the depth problem the script functions just the way I want it
to, but if anyone wants to point out or fix any major problems as well as
my depth one, it'd be much appreciated.
Apologies for any shoddy indenting and the massive post. Trying to give as
much info as I can.
I beleive I am attempting to set this cookie before any headers are sent.
?
Kris
On 22 Mar 01, at 14:38, Brian V Bonini wrote:
> I believe you need to set the cookie
> before any other header information is
> passed.
>
> -brian
>
> > -Original Message-
&g
Hi, I am trying to set a cookie and it doesn't work. I am running IE 5.
I have IE set to prompt before setting cookies but I never get a prompt.
Here is my code - basically, if someone logs in, it is to set a cookie.
What am I missing? Kris
if($success==1){
$loginid
'$username',
'$cryptpass', '$created', $visits, '$fax', '$status', '$pridomain',
'$title')";
SQLCall($call);
include("results/newagent.php");
This (bug?) seems to only affect INSERT calls
99 matches
Mail list logo