QLCall($call);
include("results/newagent.php");
This (bug?) seems to only affect INSERT calls to pg_sql. The
functions within the script which use UPDATE sql calls (using the
same SQLCall($call) function in this script work fine.
Any ideas?
Thanks,
Kris
--
PHP
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=&quo
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-
From: [EMAIL PROTECTED] [mailto:[EMAIL
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 List (http
?
Thanks,
Kris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
appreciate it.
Regs,
Kris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
?
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-Virus.
Version
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
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] Solaris
Kris,
a couple of options for you to try are http
: SYSERR(nobody): deliver: for k 1: Not enough space
Do you know how I can get around this and make it run??
Thanks
Kris
: SYSERR(nobody): deliver: for k 1: Not enough space
Do you know how I can get around this and make it run??
Thanks
Kris
- 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)?
Quentin
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 List (http
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 [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday
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: Wednesday, January 22, 2003 10:58 AM
Subject: RE: [PHP] Re: fscanf
Given
. 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
Given the information below this works:
?php
$string =text1, text2, text3;
$array = preg_split
or is there a better option for this whole thing??
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
was a sleep for $num \r\n;
}
}
?
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
can offer what so ever.
Kris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, 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 [EMAIL PROTECTED]
To: Kris
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]
Sent: Thursday, March 13, 2003 1:04 AM
Subject: Re: [PHP] Threading objects
All I'm
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, visit: http
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 get around this??
Thanks
Kris
--
PHP General Mailing
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=KrispassWd=1234
How can I hide this so it's just
www.whatever.com/index.php or even better just
www.whatever.com
thanks
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 your
Please read the document.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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
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
have considered it to work like this:
string - md5 = hash
On any system, the md5
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/BSD user.. I have
heard
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
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 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 =
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 = count($t);
while($r
-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 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
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 scriptwindow.location=\'admin_.php'\/script;
}
else
{
echo Your username/password is incorrect;
}
On
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
into the url string. 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
--
PHP
that 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
that 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
Is there a way to post input types that are hidden with out using a html form in
php? I know you can do it in java script with Form.submit().
So... if I have three hidden fields can I post them without pressing a button that
uses a form by using a php function?
Thanks in advance.
Kris
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
this is 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
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
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
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
Can you practice function over-loading in php?
Kris
Can you practice function over-loading in php?
Kris
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
.
Thanks,
Kris.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
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:
) of the joined fields?
Many thanks, Kris.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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 List (http
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
When I have an error in my code nothing gets written
not when running through
a browser.
Where should I start looking for the problem?
Thanks
Kris
this? Please note I have no access to Server A so I can't just
edit there database. Does this make sense? :)
Thanks
Kris
- 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 question correctly it sounds like you want to
populate a database
/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..
Kris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
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://2binteractive.com
http://doomstar.com
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 version
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
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] on
Parser:
foreach($_POST
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
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
how to
abbreviate commands in 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
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
http://192.168.0.1/index.php?DSE=matrixaccess=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=matrixaccess=31337
REQUEST_URI=/index.php?DSE=matrixaccess=31337
HTTP Request: Get
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
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?
What php.ini setting causes the following:
A link in a document a href=index.phpindex/a gets modified by PHP,
so that the end-user sees
a href=index.php?PHPSESSID=(*Uwhatever*$GIODGindex/a
in the source? How do you turn this off?
Thanks,
Kris
--
PHP General Mailing List (http://www.php.net
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
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:
a href=/q?s=IBMd=tIBM/a/font/tdtd nowrap align=center
font face=arial size=-12:59pm/font/td
td nowrapfont
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
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
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..
?
$date=09-12-1967;
$dARR=explode(-, $date);
$tmon=$dARR[0]; $tday=$dARR[1]; $tyr=$dARR[2];
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'm continuing
,
Kris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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 li...@pruimphotography.com wrote:
On Oct 20, 2010, at 8:47 PM, Kris Craig wrote:
I hope this helps
. 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 kris.cr...@gmail.com wrote:
I've had a few emails from people making the same request, so what I'm
gonna do
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
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 == ) {
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
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;
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. Can
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
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 have truncated the
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
On Thu, Jul 19, 2012 at 12:36 PM, Ferenc Kovacs tyr...@gmail.com wrote:
2012.07.19. 20:21, Daniel Brown danbr...@php.net ezt írta:
Forwarding to php-webmas...@lists.php.net, as it's not a general
user issue where it pertains to php.net.
On Thu, Jul 19, 2012 at 2:02 PM, Kris Craig
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 2:11 PM, Hannes Magnusson
hannes.magnus...@gmail.com wrote:
On Thu, Jul 19, 2012 at 10:01 PM, Kris Craig kris.cr...@gmail.com wrote:
On Thu, Jul 19, 2012 at 1:52 PM, Ferenc Kovacs tyr...@gmail.com wrote:
Btw. we were asked by the to join the league as we
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
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 workaround
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
97 matches
Mail list logo