Search Results

Search: Posts Made By: extra93
1,374
Posted By extra93
thank you friend it realy help, but i mean for...
thank you friend it realy help, but i mean for exemple this \([^<]*\) i want to undestand the fonctioning of the code but thank you one more time :)
1,374
Posted By extra93
thank you very much sir that s work, please can...
thank you very much sir that s work,
please can you explain me the code i want to use it on
<TD CLASS="usercol3">00:12:25<BR></TD>
to extract th time :)
1,374
Posted By extra93
Extract a string from another string
hi,
i have this string:
<TD CLASS="xxxxxxxx" data-sort-value="xxx999" TITLE="xxxxxxxxxxxx">xxxxxxxxxxxxx</TD>


this string has diffrent value ech time, i want to store just the value of...
1,233
Posted By extra93
thank you sir :) :) :)
thank you sir :) :) :)
1,233
Posted By extra93
If statement not working from php (www-data) user
hello, i have a problem with my script

#!/bin/bash
linenum=$(grep -n -w somedata /usr/local/xx/xxx.txt |cut -f1 -d:);
if [ $linenum > 0 ]
then
linestart=$((linenum-1));
...
2,808
Posted By extra93
SOLVED :) :)
i have find the solution thank you guys,

i removed www-data from /etc/at.deny and now 'at' comand works fine from php (sell_exec)

i hope this topic help another one :)
2,808
Posted By extra93
Ooh Thank you bro this realy helps me, here is...
Ooh Thank you bro this realy helps me, here is what i get in LOG.TEXT:

from terminal:
warning: commands will be executed using /bin/sh
job 56 at Thu Jun 9 23:34:00 2016

from php...
2,808
Posted By extra93
oh sorry STOMP yes i tried but no file exist in...
oh sorry STOMP yes i tried but no file exist in /tmp/ or am i wrong on somethings ?

'at' cammand always ignored from php even when i put 'at' comand in script and run it from php at camand ignored...
2,808
Posted By extra93
yes from a browser, php and apache are installed...
yes from a browser, php and apache are installed on my VPS debian 7

at comand not allowd ?? how can i slove that sir :confused:

---------- Post updated at 03:03 PM ---------- Previous update...
2,808
Posted By extra93
but
from php:
this works shell_exec('./phpsc.sh');
this not shell_exec('at -f phpsc.sh now + 5 minute')

the same code from terminal works fine on both:
this works ./phpsc.sh'
this...
2,808
Posted By extra93
At command for Linux job not working from php
I have a script .sh with a curl command in it:

curl --digest "http://xxxxxxx.xxx/mail.php?email=xxxx@xxx.xx";

from terminal this works good :
./script.sh //(mail arrives in my box)

from php...
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 04:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy