Hi all,
For any one following this thread, here is how I worked around the
apache/php/chown limitation.
script snippet (and if any one has a more elegant style, please share
as I am an amateur script kiddie).
$path = "/homes".$username;
$chowncmd = "/usr/bin/sudo /bin/chown ";
mkdir($path
Chris wrote:
Shawn McKenzie wrote:
Chris wrote:
Wow, it does chown and chmod as well, thats friggen cool.
chown will only work if the script is running as root which I doubt your
drupal site will be.
Or if the script is running as a user/group that has write permissions
to the dir/file that
Shawn McKenzie wrote:
Chris wrote:
Wow, it does chown and chmod as well, thats friggen cool.
chown will only work if the script is running as root which I doubt your
drupal site will be.
Or if the script is running as a user/group that has write permissions
to the dir/file that your trying t
Chris wrote:
>
>> Wow, it does chown and chmod as well, thats friggen cool.
>
> chown will only work if the script is running as root which I doubt your
> drupal site will be.
>
Or if the script is running as a user/group that has write permissions
to the dir/file that your trying to chown.
--
Andrew Williams wrote:
I want to created a window schedule a task that will run every 2 minutes and
run my php script(www.domain.com/script.php). But I need to know how to
create a php.exe that I can select as a window schedule a task so that the
php.exe file can execute www.domain.com/script.ph
On Thu, Apr 2, 2009 at 10:12 AM, Kyle Smith wrote:
> There's no need for third party software, windows has a scheduled task
> system.
>
> Make a scheduled task and for the application select the php executable
> (Maybe C:\PHP\bin\php.exe, or some such.). Once the wizard is complete
> select the c
Wow, it does chown and chmod as well, thats friggen cool.
chown will only work if the script is running as root which I doubt your
drupal site will be.
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
On Thu, 2009-04-02 at 15:58 -0700, aurfal...@gmail.com wrote:
On Thu, 2009-04-02 at 15:47 -0700, aurfal...@gmail.com wrote:
aurfal...@gmail.com wrote:
Hi all,
I'm unsure how to describe this but I'll try.
The following code works fine in its own PHP script;
$mkdircmd = '/bin/mkdir /homes/'.$uid
On Thu, 2009-04-02 at 15:58 -0700, aurfal...@gmail.com wrote:
> > On Thu, 2009-04-02 at 15:47 -0700, aurfal...@gmail.com wrote:
> >>> aurfal...@gmail.com wrote:
> Hi all,
> I'm unsure how to describe this but I'll try.
> The following code works fine in its own PHP script;
> $mk
On Thu, 2009-04-02 at 15:47 -0700, aurfal...@gmail.com wrote:
aurfal...@gmail.com wrote:
Hi all,
I'm unsure how to describe this but I'll try.
The following code works fine in its own PHP script;
$mkdircmd = '/bin/mkdir /homes/'.$uid;
exec($mkdircmd);
But when placed in a larger PHP script being
On Thu, 2009-04-02 at 15:47 -0700, aurfal...@gmail.com wrote:
> > aurfal...@gmail.com wrote:
> >> Hi all,
> >> I'm unsure how to describe this but I'll try.
> >> The following code works fine in its own PHP script;
> >> $mkdircmd = '/bin/mkdir /homes/'.$uid;
> >> exec($mkdircmd);
> >> But when plac
aurfal...@gmail.com wrote:
Hi all,
I'm unsure how to describe this but I'll try.
The following code works fine in its own PHP script;
$mkdircmd = '/bin/mkdir /homes/'.$uid;
exec($mkdircmd);
But when placed in a larger PHP script being part of the
ldap_provisioning module in Drupal, the Drupal G
At 2:34 PM -0700 4/2/09, Michael A. Peters wrote:
tedd wrote:
At 4:03 AM -0700 4/2/09, Michael A. Peters wrote:
Shaun Thornburgh wrote:
Hi,
We are getting errors when trying to vaildate our HTML due to the
[ character when using Post Arrays:
Line 173, Column 65:
character "[" is no
aurfal...@gmail.com wrote:
Hi all,
I'm unsure how to describe this but I'll try.
The following code works fine in its own PHP script;
$mkdircmd = '/bin/mkdir /homes/'.$uid;
exec($mkdircmd);
But when placed in a larger PHP script being part of the
ldap_provisioning module in Drupal, the Drupa
Hi all,
I'm unsure how to describe this but I'll try.
The following code works fine in its own PHP script;
$mkdircmd = '/bin/mkdir /homes/'.$uid;
exec($mkdircmd);
But when placed in a larger PHP script being part of the
ldap_provisioning module in Drupal, the Drupal GUI is blank until I do;
Anders Norrbring wrote:
I just saw that mhash is disabled in the spec file for php5 if SUSE version
is 11.0 or higher.
Simple question, does it do any harm?
If they decided to do that it's best to ask suse (or on the opensuse
lists if you're using that flavour).
It may just be because it's d
Keith Lawson wrote:
Hello,
I have been working on this problem for some time now and I can't seem to resolve it. Everything I have found on google and php.net says I can connect to an LDAP server with SSL by setting "TLS_REQCERT never" in ldap.conf. I want to eliminate certs from the picture for
9el wrote:
I found this command from one guy for importing Oracle's dump to MySQL
Shell> mysql -uroot db_name -vvf < oracle_dump.dmp
But, v is for verbose and f is for force continuation.
Anyone worked with Oracle and MySQL?
Yep, and there's no way that will ever work except for the very sim
I want to created a window schedule a task that will run every 2 minutes and
run my php script(www.domain.com/script.php). But I need to know how to
create a php.exe that I can select as a window schedule a task so that the
php.exe file can execute www.domain.com/script.php at a time interval.
Sol
tedd wrote:
At 4:03 AM -0700 4/2/09, Michael A. Peters wrote:
Shaun Thornburgh wrote:
Hi,
We are getting errors when trying to vaildate our HTML due to the [
character when using Post Arrays:
Line 173, Column 65:
character "[" is not allowed in the value of attribute "id"
Še="filte
On Thu, Apr 02, 2009 at 02:25:55PM -0400, tedd wrote:
> At 4:03 AM -0700 4/2/09, Michael A. Peters wrote:
>> Shaun Thornburgh wrote:
>>> Hi,
>>>
>>> We are getting errors when trying to vaildate our HTML due to the [
>>> character when using Post Arrays:
>>>
>>> Line 173, Column 65:
>>> c
On Thu, Apr 2, 2009 at 3:26 PM, Dan King wrote:
> It seems that our java applet is clearing our php session variables.
>
> I have an html form that saves user information as session variables. These
> session variables are used to create folders, where uploaded files can be
> saved. I've tested m
On Thu, 2009-04-02 at 14:23 -0400, tedd wrote:
> At 4:03 AM -0700 4/2/09, Michael A. Peters wrote:
> >Shaun Thornburgh wrote:
> >>Hi,
> >>
> >>We are getting errors when trying to vaildate
> >>our HTML due to the [ character when using Post
> >>Arrays:
> >>
> >>Line 173, Column 65:
> >> c
On Thu, 2009-04-02 at 11:43 -0300, Igor Escobar wrote:
> ps 3: Why javascript is bad? you don't know develop a good interface
> with
> that? shame on you.
You don't know how to develop a good interface *without* Javascript? ;)
Essentially, relying on script for something as fundamental as form
h
It seems that our java applet is clearing our php session variables.
I have an html form that saves user information as session variables. These
session variables are used to create folders, where uploaded files can be
saved. I've tested my php script that uses the session variables to create a
At 4:03 AM -0700 4/2/09, Michael A. Peters wrote:
Shaun Thornburgh wrote:
Hi,
We are getting errors when trying to vaildate
our HTML due to the [ character when using Post
Arrays:
Line 173, Column 65:
character "[" is not allowed in the value of attribute "id"
e="filters[calling_u
Hello,
I have been working on this problem for some time now and I can't seem to
resolve it. Everything I have found on google and php.net says I can connect to
an LDAP server with SSL by setting "TLS_REQCERT never" in ldap.conf. I want to
eliminate certs from the picture for now just to confi
At 4:03 AM -0700 4/2/09, Michael A. Peters wrote:
Shaun Thornburgh wrote:
Hi,
We are getting errors when trying to vaildate
our HTML due to the [ character when using Post
Arrays:
Line 173, Column 65:
character "[" is not allowed in the value of attribute "id"
e="filters[calling_u
I'm sorry, you is the master o/
ps: I dont ask for them to install the jQuery, i just give an exemplo how he
can do something like that.
ps 2: I know the difference betwenn XHMTL and HTML i put the "/" there
becouse it's the force of the habit
ps 3: Why javascript is bad? you don't know develop a
There's no need for third party software, windows has a scheduled task
system.
Make a scheduled task and for the application select the php executable
(Maybe C:\PHP\bin\php.exe, or some such.). Once the wizard is complete
select the checkbox that says "Open the task when I click Finish". Now
Or even with CRONw if "via window" is an indicator for the evil OS.
http://cronw.sourceforge.net/
(I personally didn't test this software)
bye
2009/4/2 Michel OLIVIER :
> hi,
> with a cron and wget?
>
> 2009/4/2 Andrew Williams :
>> All,
>>
>> Please how can you run a timed php script file via win
2009/4/2 Igor Escobar :
> If you don't want change your form, do some function in Javascript witch
> control the last button you clicked.
>
Javascript is bad and you don't need it.
>> Delete
>> Delete
>> Delete
>
>
>
> I wanna make a advice to you learn more about HTML and Web Standards...
I wa
Igor Escobar wrote:
> @Jessen I read your answer and... You have any article speaking about
> that you are saying?
>
Hi Igor
I don't have anything handy, but there's plenty of good material on the
internet about XSLT. The main point is - XSLT is just reformatting the
data from XML format to a
> Please how can you run a timed php script file via window scheduled task. or
> how can u execute a php script on a a time interval for instance every
> 4minutes
hi Andrew,
first schedule a task, locate and select your php.exe, and schedule it
to run daily for the moment.
after creating it, you
If you don't want change your form, do some function in Javascript witch
control the last button you clicked.
Delete
Delete
Delete
I wanna make a advice to you learn more about HTML and Web Standards...
Don't use button type... use "input" type...
Your javascript (using jQuery) sems like this
hi,
with a cron and wget?
2009/4/2 Andrew Williams :
> All,
>
> Please how can you run a timed php script file via window scheduled task. or
> how can u execute a php script on a a time interval for instance every
> 4minutes
>
> --
> Best Wishes
> Andrew Williams
>
--
PHP General Mailing List (h
@Jessen I read your answer and... You have any article speaking about that
you are saying?
Regards,
Igor Escobar
systems analyst & interface designer
www . igorescobar . com
On Thu, Apr 2, 2009 at 8:38 AM, Per Jessen wrote:
> Andrew Williams wrote:
>
> > Best All,
> >
> > How can you best and
I'm in the Oracle/MySQL E-mail List ?
Regards,
Igor Escobar
systems analyst & interface designer
www . igorescobar . com
On Thu, Apr 2, 2009 at 6:26 AM, 9el wrote:
> I found this command from one guy for importing Oracle's dump to MySQL
>
> Shell> mysql -uroot db_name -vvf < oracle_dump.dmp
>
Put [] in the name attribute, but in ID must be unique.
Regards,
Igor Escobar
systems analyst & interface designer
www . igorescobar . com
On Thu, Apr 2, 2009 at 8:11 AM, Peter Ford wrote:
> Peter Ford wrote:
> > Michael A. Peters wrote:
> >> Shaun Thornburgh wrote:
> >>> Hi,
> >>>
> >>> We a
All,
Please how can you run a timed php script file via window scheduled task. or
how can u execute a php script on a a time interval for instance every
4minutes
--
Best Wishes
Andrew Williams
Andrew Williams wrote:
> Best All,
>
> How can you best and accurately extract XLM data to DB table. e.g.:
>
Use XSLT to generate SQL INSERT statements.
/Per
--
Per Jessen, Zürich (11.3°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.
What about styling a link to look like a button with css? It won't be
an exact match style wise but you can get close. I have done this
succesfully
Bastien
Sent from my iPod
On Apr 2, 2009, at 6:04, "Angus Mann" wrote:
Hi all.
I want to have several delete buttons with just one form, an
Another suggestion would be to use the tag as suggested by Richard,
but rename the "name" value ie:
You can then use your PHP variable $_POST["btid1"], $_POST["btid2"] or
$_POST["btid3"], etc, to determine relevant actions.
-Original Message-
From: Angus Mann [mailto:angusm...@po
Peter Ford wrote:
> Michael A. Peters wrote:
>> Shaun Thornburgh wrote:
>>> Hi,
>>>
>>> We are getting errors when trying to vaildate our HTML due to the [
>>> character when using Post Arrays:
>>>
>>> Line 173, Column 65:
>>> character "[" is not allowed in the value of attribute "id"
>>>
Michael A. Peters wrote:
> Shaun Thornburgh wrote:
>> Hi,
>>
>> We are getting errors when trying to vaildate our HTML due to the [
>> character when using Post Arrays:
>>
>> Line 173, Column 65:
>> character "[" is not allowed in the value of attribute "id"
>>
>> …e="filters[calling_url]"
Peter Ford wrote:
> Angus Mann wrote:
>> Hi all.
>>
>> I want to have several delete buttons with just one form, and depending on
>> which button is pressed, one of several items is deleted.
>>
>> So I need multiple submit buttons for 1 form, each displaying the same text
>> "Delete" to the user,
Shaun Thornburgh wrote:
Hi,
We are getting errors when trying to vaildate our HTML due to the [ character
when using Post Arrays:
Line 173, Column 65:
character "[" is not allowed in the value of attribute "id"
…e="filters[calling_url]" id="filters[calling_url]" value="categories-bulk
Angus Mann wrote:
> Hi all.
>
> I want to have several delete buttons with just one form, and depending on
> which button is pressed, one of several items is deleted.
>
> So I need multiple submit buttons for 1 form, each displaying the same text
> "Delete" to the user, but each with a differen
Hi,
We are getting errors when trying to vaildate our HTML due to the [ character
when using Post Arrays:
Line 173, Column 65:
character "[" is not allowed in the value of attribute "id"
…e="filters[calling_url]" id="filters[calling_url]" value="categories-bulk-ear
Does anyone know of
I can do as you suggest below, but then the buttons are labelled "Delete"
"Cancel" and "Save" to the user.
The essential point is that they all need to say "Delete". I know I can
accomplish this by making multiple forms, each with its own button but for
my purpose that's a pain is the ***.
I
> Any suggestions ?
Try this:
And then you can check the value of $_POST['btid']. Oh and btw...
... seriously?
That's so 9 years ago. ;-)
--
Richard Heyes
HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari:
http://www.rgraph.net (Updated March 28th)
--
PHP General Mailing List
Hi all.
I want to have several delete buttons with just one form, and depending on
which button is pressed, one of several items is deleted.
So I need multiple submit buttons for 1 form, each displaying the same text
"Delete" to the user, but each with a different "value" so the PHP script can
On 2 Apr 2009 at 15:33, Louie Miranda wrote:
> Guys,
>
> I need help on the php and mysql configurations.
>
> I want to be able to upload < 100MB to MySQL using PHP.
>
> > max_allowed_packet = 5M
Hi,
This may be the one that's stopping it.
max_allowed_packet:
http://dev.mysql.com/doc/ref
On 31 Mar 2009 at 18:15, PJ wrote:
> >> But I see that I may be trying to do too much - I thought of showing how
> >> many books were listed under each letter of the alphabet but I don't see
> >> how it can be done in any simiple way as it would mean that I would have
> >> to do the select once
I found this command from one guy for importing Oracle's dump to MySQL
Shell> mysql -uroot db_name -vvf < oracle_dump.dmp
But, v is for verbose and f is for force continuation.
Anyone worked with Oracle and MySQL?
Andrew Williams wrote:
> Best All,
>
> How can you best and accurately extract XLM data to DB table. e.g.:
>
>
> -
>
> 20
> FRA
> Frankfurt
>
> -
>
> 28
> LSE
> London Stock Exchange
>
> -
>
> 226
> GER
> Xetra
>
>
>
> www.willandy.co.uk
>
Oh, I thought of another one:
Write some XSL
Andrew Williams wrote:
> Best All,
>
> How can you best and accurately extract XLM data to DB table. e.g.:
>
>
> -
>
> 20
> FRA
> Frankfurt
>
> -
>
> 28
> LSE
> London Stock Exchange
>
> -
>
> 226
> GER
> Xetra
>
>
>
> www.willandy.co.uk
>
Write some code to read the XML file. (you c
Best All,
How can you best and accurately extract XLM data to DB table. e.g.:
-
20
FRA
Frankfurt
-
28
LSE
London Stock Exchange
-
226
GER
Xetra
www.willandy.co.uk
I just saw that mhash is disabled in the spec file for php5 if SUSE version
is 11.0 or higher.
Simple question, does it do any harm?
I know it's been deprecated in favor for hash, but I have quite a few apps
using mhash still, so if it doesn't do any harm I thought I'd continue using
it until all
Guys,
I need help on the php and mysql configurations.
I want to be able to upload < 100MB to MySQL using PHP.
On PHP, php.ini is as follows:
> max_execution_time = 100; Maximum execution time of each script, in
> seconds
> max_input_time = 100; Maximum amount of time each s
60 matches
Mail list logo