Nathan Nobbe wrote:
On Fri, May 16, 2008 at 1:04 PM, Tim Traver <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hi all,
sorry for the cross post to the general PHP list as well as the
SOAP PHP list, but I'm a little bit desperate...
Ok, for some reason
181854
individual
Tim
Traver
none
As you can see, all of the object variables are created correctly,
except that the "payment" object is n
Nathan Nobbe wrote:
On Jan 9, 2008 10:45 PM, Tim Traver <[EMAIL PROTECTED]> wrote:
Bastien,
I want to use PHP's built in classes for this so I don't have to
manually send xml to the api...
writing the xml by hand would be madness...
i didnt want to spend all night
Bastien,
Thank you for answering, but the issue is that the PHP SOAPClient
classes actually create that xml to send, so I have no control over the
xml that is sent with a call command to the SOAP object...
I just wondered if there was any flags that I am missing that might
bring the php stuf
Hi all,
ok, I am a little bit new to the SOAP game, but I understand it, and am
using it to talk to an outside API.
The problem that I have is that the server that I am talking to (that is
not in my control), will accept the following SOAP call
http://www.w3.org/2001/XMLSchema-instance";
Hi,
I've been happily using the Free PHP Accelerator for years now, and I
recently updated to php 4.4, and I get the following error :
the ionCube PHP Accelerator requires Zend Engine API version 20021010.
The Zend Engine API version 20050606 which is installed, is newer.
Contact Nick Lindridg
Brian Dunning wrote:
I am embarrassed to ask this. If I set a cookie for 30 days, and the
visitor comes back 25 days later but I do nothing to re-set the
cookie, will his cookie expire in 5 days, or does his browser
automatically reset it to another 30 days?
That depends on if you reset the c
João Cândido de Souza Neto wrote:
Hy everyone.
Since we change our ssl key from 128kb to a 256kb i notice that something´s
going wrong.
In my e-commerce, part is secure and part isn´t. when i join into the secure
part of the site, everithing works fine. But, when the sale is finishes and
m
Hi all,
ok, have a relatively complicated architecture of php scripts in place,
and after reading more about SQL injection, want to make sure that I
clean my data completely before I enter it into a MySQL db.
I tend to clean the data on the way into the app, which has many
subroutines that p
Hi all,
ok, I have come up with an architecture to offer PHP to customers as a
CGI, and want to get some opinions to make sure I'm not missing any
glaring holes...
I've decided to use suPHP to fork off PHP CGI scripts as the user and
group. It seems to work pretty well, and I have tweaked su
Hi all,
ok, I want to re-post this so that more people might see it, cause there
has to be an answer somewhere...
When using the GCI version of PHP with apache, I need to be able to set
some of the php_admin_values that normally get set in the php.ini file
on the fly...
Since I am not usin
Hi all,
ok, when using the CGI binary for PHP execution, is there a way to send
it environment variables to set the admin values like you can in mod_php ???
For instance, when using the apache module, you might do something like
this :
php_admin_value session.save_path /some/path
I know th
Hi all,
ok, I'm trying to write a script to optimize images for the web, but I
can't seem to figure out how to go about reducing the color pallete, and
therefor reducing the size of the images.
I'm trying to be generic about it so that users can optimize GIF's and
JPG's or even PNG's. I can'
Hi all,
when using the mail() function in the base PHP distribution, is there a
way to inject a default header onto all mail being sent out ?
I thought at some point there was already a header that specified the
script that was making the mail() call in it, but it doesn't look like
that is h
Hi all,
For some reason, when I compile php on my FreeBSD 5.4 machine (amd64
architecture), it is not creating the shared object file.
Here is my config :
./configure --with-apxs=/usr/local/apache/bin/apxs --enable-ftp
--with-mcrypt=/usr/local -with-openssl -enable-url-fopen-wrapper
--enable-ft
Hi all,
ok, I have created my own php text editor that allows a user to edit
files from local(server) disk.
I use a basic html textarea to show the contents of the file, and let
them edit it, and then save it to disk.
I've just realized that when editing an html file, that everything is
ok, un
Hi all,
for some reason, I cannot get php to compile a shared object to work
with apache 1.3.33...
Here are the config commands that I used for apache and php :
EAPI_MM=SYSTEM ./configure --enable-module=so --enable-module=info
--enable-module=status --enable-module=rewrite --enable-module=ssl
I guess what I'm really asking is do the php_admin environment variables
that can get set in Apache get passed to the CGI version of php when
called as a CGI ?
Tim.
Curt Zirzow wrote:
* Thus wrote Tim Traver:
Hi all,
In the quest to secure php script running, I am starting to think
Hi all,
In the quest to secure php script running, I am starting to think about
running php as a cgi instead of through the module.
I generally set the open_basedir directory within the apache
configuration file for individual hosts. If I ran php as a CGI, would
that directive still be in effec
Pablo,
I tested Chris's script on our systems, and couldn't browse anywhere other
than my own directories, so it is possible to set php up on shared hosts
that is a lot more secure than what your host has done.
May I ask what host this is ? Is it a major one ?
Tim.
At 02:09 PM 9/26/2004, Pablo G
directories. I am still wary of how safe that is, but its as close as I can
get it...
Seriously, let me know if you've got any issues with PHP's security model.
Tim.
At 11:26 AM 9/26/2004, Chris Shiflett wrote:
--- Tim Traver <[EMAIL PROTECTED]> wrote:
> I believe that
Oh, and I forgot, you can also specify specific include directories to be
allowed for a particular user...
Tim.
At 09:47 PM 9/25/2004, Chris Shiflett wrote:
--- Tim Traver <[EMAIL PROTECTED]> wrote:
> I can guarantee that is not the way it is supposed to be. We
> make sure that can
/25/2004, Chris Shiflett wrote:
--- Tim Traver <[EMAIL PROTECTED]> wrote:
> I can guarantee that is not the way it is supposed to be. We
> make sure that can't happen by running in Safe mode, using the
> open_basedir directive, and making sure the directory tree has
> the co
Pablo,
As a shared hosting company myself (http://www.simplenet.com/), I can
guarantee that is not the way it is supposed to be. We make sure that can't
happen by running in Safe mode, using the open_basedir directive, and
making sure the directory tree has the correct permissions so the situati
Darnit if the php.ini file that I was looking at was the wrong one...
looks like turning the magic quotes off in the correct php.ini file worked...
thanks,
Tim.
At 10:17 AM 8/18/2004, Curt Zirzow wrote:
* Thus wrote Tim Traver:
> Hi all,
>
> ok, I've made my own version of a file ma
No, magic quotes are turned off...
Tim.
At 09:44 AM 8/18/2004, Jason Davidson wrote:
Do you have magic quotes turned on in your php ini file?
Jason
Tim Traver <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> ok, I've made my own version of a file manager complete with a text
e
Hi all,
ok, I've made my own version of a file manager complete with a text editor,
and I'm having troubles figuring out some issues.
I present the text to be edited retrieved from a file in a textarea box for
a user to edit, and then POST that to my PHP application, which then saves
it to disk
I think the better way is to use brackets to enclose your variable...
So it would look like this :
$message = "
Name: {$_POST['Name']}
Division: {$_POST['Division']}
Phone: {$_POST['Phone']}
Email: {$_POST['Email']}";
Tim.
At 11:15 AM 7/19/2004, Jason Barnett wrote:
Markus Stobbs wrote:
I'm changin
It could be a case that your provider is load balancing across several
machines. If they are, and they aren't storing the session data in a
central location, then that might account for the issue.
That would explain the intermittent failure. The user might be making
keepalive requests to the sa
Not sure if this is different in linux, but usually the first parameter is
the minutes, and if you had 01 in it, that means that it would do it once
an hour (i.e. 12:01, 1:01, 2:01, etc...
They should all have stars to do it once a minute.
In freeBSD, it would look like this :
* * *
That is exactly what I needed...
Thanks !
Tim.
At 12:04 PM 6/7/2004, Adam Bregenzer wrote:
On Mon, 2004-06-07 at 14:52, Tim Traver wrote:
> I have a script that includes a separate file for functions.
>
> In a particular function, if a query gets an error, write out a log file
> that
Hi all,
Is it possible to get the line number of the parent script of a subroutine ???
ok, let me explain that a little better.
I have a script that includes a separate file for functions.
In a particular function, if a query gets an error, write out a log file
that explains the error.
The thing
Hi all,
I'm sure this question has come up before, so it should be an easy answer...
I'm running PHP as an apache module, and have safe_mode turned on.
When a script attempts to create a directory, or upload a file, it creates
it as the web server user.
Since it is an apache module, running suexe
Oh my god...I'm crying...
what the heck is a bacon stretcher ?
t
At 03:52 PM 5/28/2004, Travis Low wrote:
Here's what you do. Assume 10-hour work days. Obviously, you want to
start with the schema. That's pretty darn important, so allow yourself a
whole day for that.
You have four days left.
yeah, the "+" modifier thinks you mean you want to add them as integers...
use my previous post with the concat command and that works...
Tim.
At 09:20 AM 5/20/2004, Nick Wilson wrote:
* and then Nick Wilson declared
> > >pages of course... What I need to do, is add to the very end of each
> >
If you know exactly what you need to append, then you can just do the
update query directly.
UPDATE tablename
SET body=concat(body,'string to add')
that should do it...
Tim
At 09:04 AM 5/20/2004, Nick Wilson wrote:
Hi all,
First off, yeah, it's a dumb Q ;-) but I cant remember enuf about mysql
t
It looks like that cron line is making it so that the command runs as the
user php...
so, you should check if that user has permission to run the script.
Tim.
At 08:33 AM 5/20/2004, Merlin wrote:
Hi there,
I am trying to install following cron job:
0 6 * * * php /home/www/project/app_cron/follow_
Uhhh...I shouldn't have to do that...
and admin on this list should be able to remove those two offending
addresses, right ?
Tim.
At 11:18 AM 5/7/2004, John Nichel wrote:
Tim Traver wrote:
Can any admin remove this user from the list ?
"Advance Credit Suisse Bank" <[EMAIL
entry for every virtual host in the
config file. As long as the directory exists, then apache will serve it up...
Tim.
At 11:46 AM 5/7/2004, Curt Zirzow wrote:
* Thus wrote Tim Traver ([EMAIL PROTECTED]):
> Just in case anyone wants to know the solution, I found one on the
Can any admin remove this user from the list ?
"Advance Credit Suisse Bank" <[EMAIL PROTECTED]>
Every time I post, I get an autoresponse from that address...
Anyone else get that ?
Thanks,
Tim.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
Just in case anyone wants to know the solution, I found one on the apache
list...
Apparently, from within an apache module, one can use the function
zend_alter_ini_entry("open_basedir", 13, path, strlen(path), 4, 16);
This function is included in the zend base libraries, and will let you set
t
David and all,
I apologize for not posting properly. I did not realize that headers were
keeping track of the threads of this mailing list. I will make sure I don't
do it again.
I am actually simply using the Host header to make a dynamic path to its
data location in my apache module.
Unfortu
Hi all,
ok, I am writing an apache module that dynamically figures out virtual host
variables for data locations for my users.
I need to be able to set the php_admin_values for each request so that
those values get passed through to php and take effect for each request.
Normally, this would be
to just use the QUERY_STRING_UNESCAPED variable and populate
the $_REQUEST array myself, cause the "QUERY_STRING" variable is empty...
Tim.
At 10:52 AM 4/25/2004, Evan Nemerson wrote:
On Sunday 25 April 2004 09:56 am, Tim Traver wrote:
> Yes, I mean that php gets the server informa
's why I'm asking everyone.
Tim.
At 01:22 AM 4/25/2004, Evan Nemerson wrote:
On Saturday 24 April 2004 10:29 pm, Tim Traver wrote:
> Hi all,
>
> ok, this may be a dumb question, but I have a page that has server side
> includes that include a php script like this :
>
>
>
Hi all,
ok, this may be a dumb question, but I have a page that has server side
includes that include a php script like this :
works fine, except the script doesn't appear to receive any of the query
string information if that page has a query string on it...
an example would be something li
Hi all,
ok, this may be a dumb question, but I have a page that has server side
includes that include a php script like this :
works fine, except the script doesn't appear to receive any of the query
string information if that page has a query string on it...
an example would be something li
Enrico,
Actually, you can use smarty in a way that solves those issues. Simply do
not include the logic features of smarty in your templates. That way, the
only thing included in the templates is html, and {$variables}.
Then your web designers don't need to learn anything.
The problem that you
Jason,
well, if the string is exactly how you have it, then something like this
would do :
$var="mailto:[EMAIL PROTECTED])";
if(preg_match("/^(\S+)\s.+/",$var,$match)){
$name=$match[1];
}
Of course, that would exclude those addresses that might have two names,
lik
he discussion chris.
Tim.
At 08:16 PM 3/8/2004, Chris Shiflett wrote:
--- Tim Traver <[EMAIL PROTECTED]> wrote:
> I sent a new session ID with the link to the new window like this :
>
>
>
> but all it does is change the current session id to the new one, so if
> I go back to
that window.
I just can't seem to get it to create a new session ID when creating a
popup window...
Any other ideas ?
Tim.
wrote:
--- Tim Traver <[EMAIL PROTECTED]> wrote:
> As an administrator, you log in to the main application. session id's
> keep track that you are
.
At 03:16 PM 3/8/2004, Chris Shiflett wrote:
--- Tim Traver <[EMAIL PROTECTED]> wrote:
> What I want to be able to do is to open a new window from my
> application that has a new session, without disturbing the current
> session.
Can you elaborate on this a little? This approach seems
ne'] = array($userid, $loginTime, $etc)
$_SESSION['mySessions']['WindowTwo'] = array($userid, $loginTime, $etc)
Tim Traver <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I am programming an interface using PHP and rely on sessions to keep state.
>
> Wha
Hi all,
I am programming an interface using PHP and rely on sessions to keep state.
What I want to be able to do is to open a new window from my application
that has a new session, without disturbing the current session.
I know that I can kill the current session and start a new one, but that's
54 matches
Mail list logo