ve the ownership and permissions of the mount point set correctly.
As it is a dynamic application, the mount point always changes
(/mnt/user1, /mnt/user2, etc.), so, /etc/fstab is not an option :(
Any ideas ?
Warm Regards,
Mário Gamito
--
PHP General Mailing List (http://www.php.net/)
To unsu
Hi,
I need to perform a mount and a umount from PHP.
I've searched the manual, but didn't find anything useful.
Any ideas ?
Any help would be appreciated.
Warm Regards,
Mário Gamito
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Does someone knows of a PHP software that is an inline PDF reader ?
You can view the idea here:
http://www.scribd.com/doc/2025925/Clinical-chemistry-II-Biomedical-Science-practical-1
Any help would be appreciated.
Warm Regards,
Mário Gamito
--
PHP General Mailing List (http://www.php.net
Hi,
How do I open a file and flush all it's contents to insert new ones and
close again ?
I've browsed through the fopen function aguments and didn't find one
that do this (or I misunderstood one of them).
Any help would be appreciated.
Warm Regards,
Mário Gamito
--
PHP
e tried putting einstein.php all inside an "echo", but the radio
buttons and the submit button stopped working.
Does anyone knows how to do this ?
Any help would be appreciated.
Warm Regards,
Mário Gamito
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
keditor/fckeditor.php
So, there's a "gamito" hanging wrongly in the request.
How can I solve this ?
Any help woud be appreciated.
Warm Regards,
Mário Gamito
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ppreciated.
Warm Regards,
Mário Gamito
--
function create_pass ()
{
$length=10;
$password = "";
$possible = "0123456789abcdefghijklmnopqrstuvxz";
$i = 0;
while ($i < $length) {
$char = substr($possible, mt_rand(0, strlen($possible)-1), 1);
if (!strs
same has user gamito, it doesn't delete the file !!!
Ideas ?
Any help would be appreciated.
Warm Regards,
Mário Gamito
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
TP/1.1" 200 223
File index.php is:
But index.php only shows "Hello" and not "Hello gamito" as I'd expect.
Any ideias ?
Any help would be appreciated.
Warm Regards,
Mário Gamito
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e picture, so
I did:
$host = 'http://' . $_SERVER['HTTP_HOST'];
"foreach($browser as $key => $val){
echo $host . "" . " ";
(...)"
But this way, all it echoes is the $host variable.
What am I missing here ?
Any help would be
ror: ".$err : null;
> ?>
No output at all and I have "display_errors = On" in php.ini
Still no directory creation.
If I run the file as user vpopmail it asks me for a password:
# su - vpopmail
$ php /home/www/hash.php
Output:"
[EMAIL PROTECTED] ~]$ php /home/www/ha
Of course the code is:
$username = 'lixo';
exec("su -c - vpopmail \"/var/qmail/bin/maildirmake
/home/vpopmail/domains/wwlib.lan/\"$username");
Mário Gamito wrote:
Hi,
Thank you for your answers.
I got it working with:
"//$username = 'lixo
on the web server it doesn't.
Directory /home/vpopmail/domains/wwlib.lan/ is owned by vpopmail.vchkpw
(as well as my .php page) with 700 permission.
I even tried chmoding 777 to my page, but still, it doesn't create the
directory.
Any ideas ?
Warm Regards,
Mário Gamito
--
r/qmail/bin/maildirmake/home/vpopmail/domains/wwlib.lan/: Not a
directory"
Which means that the $username variable isn't being appended to the string.
Any help would be appreciated.
Warm Regards,
Mário Gamito
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t; if that'd be okay. Not to judge, just to learn :)
I'm inserting values in a Linux/MySQL table from an ASP.NET/C# page.
I need to insert the password field with the correct hash (vpopmail).
So, after the first insert leaving the password field blank, I need to
invoke a PHP script that ca
Hi,
Is it possible to call from within MySQL an external PHP script ?
I've read "MySQL Stored Procedure Programming" from O'Reilly but found
nothing :(
How can I do this ?
Any help would be appreciated.
Warm Regards,
Mário Gamito
--
PHP General Mailing List (htt
);
$_SESSION['greeted'] is always equal to 1 as set in the beginning of the
file.
http://www.telbit.pt/2/login.php
Warm Regards
--
:wq! Mário Gamito
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ssion_start();
session_register("email");
in the beginning of the file.
I've tried:
if (isset($_SESSION['email']))
print('Welcome ' . $name);
but obviously it prints the "Welcome" word as the same.
Any ideas ?
Thanks in advance.
Warm Regards
--
:
he error "You didn't fill all fields, please try again." is being
displayed on page load.
This is my problem and to which i ask you for your help.
How can i make the word "Welcome" appear only after the login ?
My code follows my signature.
Any help would be appreciated.
#x27;' . $recordSet->fields[3] . '' . ''
. $recordSet->fields[1] . '' . '' . $recordSet->fields[4] . 'href=news.php?news='. $recordSet->fields[0] . '>[+]' . '' .
'';
$recordSet->MoveNext();
row and apply the
"blocoTextoLast" class to it ?
My code follows my signature.
Any help would be appreciated.
Warm Regards
--
:wq! Mário Gamito
--
debug=1;
$conn = &ADONewConnection('mysql');
$conn->PConnect($host,$user,$password,$database);
// get news data
4794 0 n
014842 0 n 014889 0 n 014937 0 n 014984
0 n 015033 0 n 015082 0 n 015130 0 n
015179 0 n 015228 0 n 015277 0 n 015326 "
(etc...)
Full code after my signature.
Any help would be appreciated.
-
Hi,
I've managed to make the PDF download system work.
But when it opens in acrobat reader, i get the error you can see in:
http://www.gamito.org/fucked-pdf-2.jpg
The code follows my signature.
Any help would be appreciated.
Warm Regards
--
:wq! Mário Gamito
--
--
PHP General Ma
00012850 0 n 012884 0 n 013037 0 n
013174 0 n 013704 0 n 014104 0 n 014488
0 n 014700 0 n 014747"
Something must be wrong with the definition of the file type.
Warm Regards
--
:wq! Mário Gamito
--
PHP General Mailing List (ht
?
Warm Regards
--
:wq! Mário Gamito
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e link for download!!!
How can i sove this puzzle ?
Full code follows my signature.
Thanks for all your help guys.
Warm Regards,
--
:wq! Mário Gamito
--
Download TESTUDIO flyer";
exit;
}
header('Content-type: application/pdf');
header("Content-Length: &q
ull is not readable by apache";
else {
//same as before
}
I'm not sure if i understand you :(
Warm Regards
--
:wq! Mário Gamito
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Thank you all for your answers.
I would say almost the opposite:
I get a Page Not found.
The problem is that $file variable is empty (tested with a print).
Any ideas ?
Warm Regards
--
:wq! Mário Gamito
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
x27;ve coded in order to do the trick, but it's failing.
I can't get the name of the file.
Notice that the page which has the code is products-teststudio.php itself.
The code follows my signature.
Any help would be appreciated.
Warm Regards
--
:wq! Mário Gamito
--
echo"rel=
do this, if i may ask ?
I'm much a system's administrator than a PHP programmer.
Warm Regards
--
:wq! Mário Gamito
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
think i was misunderstood.
I know how to do the error handling.
What i don't know is how to display the error messages in the same page
as the submit form.
Warm Regards
--
:wq! Mário Gamito
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s how do i make all these possibilities show a different
error message without leaving subscribe.php ?
I know that the for action must be subscribe.php, from there i'm blind
as a bat.
Any help would be appreciated.
Warm Regards
--
:wq! Mário Gamito
--
PHP General Mailing List (http://w
Hi,
How can i use the mail function to send messages through another server
that has authenticated SMTP ?
Any help would be appreciated.
Warm Regards
--
:wq! Mário Gamito
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
#x27;Hello', 'Hello');
then the mail is sent ok!
I'm driving nuts here.
Can someone give me a hand on this, please ?
Warm Regards
--
:wq! Mário Gamito
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
d). You
> have to add some logic in order to restrict access to your files.
Thanks a bunch.
I'll try it tomorrow at work
Warm Regards
--
:wq! Mário Gamito
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s the best approach ?
Register a session when they login and then in the PDFs page apply a
if email is registered
you can download the PDFs
else
you can't
Something like this ?
Or is it there a better way ?
Any help would be appreciated.
Warm Regards
--
:wq! Mário Gamito
--
PHP Gener
]: *** [bundled] Error 2
make[1]: Leaving directory `/usr/local/src/imap-2006e'
make: *** [slx] Error 2"
Can someone help me out, please ?
Warm Regards,
Mário Gamito
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Yes, but what i was looking for is the best solution for the users to
choose their language.
Thanks for the useful link anyway.
Best Regards,
Mário Gamito
Tony Marston wrote:
> If you read
> http://www.tonymarston.net/php-mysql/internationalisation.html#determine.use
> r.language
Hi,
But this allows users to choose the language or is it an automatic
process from the browser language ?
Regards,
Mário Gamito
Tony Marston wrote:
> Take a look at
> http://www.tonymarston.net/php-mysql/internationalisation.html which
> documents the solution which I hav
Hi,
I have this code to create a database and a few tables.
Is there a way to display the MySQL actions at runtime, i. e., display
the MySQL commands while they are being executed ?
Any help would be appreciated.
Warm Regards,
Mário Gamito
--
PHP General Mailing List (http://www.php.net/)
To
t syntax to use near '(login)
FROM formacao WHERE login = 'a'' at line 1"
Regards,
Mário Gamito
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Sorry, i do have the table name.
It just passed me while transcripting.
The code is:
---
$query = "SELECT COUNT (login) FROM formacao WHERE login = '$login'";
$result = mysql_query($query);
mysql_fetch_row($result);
---
It works perfectly on MySQL prompt.
Regards,
gistar_action.php on line 22
Any help would be apreciated.
Warm Regards,
Mário Gamito
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
choosen by the user ?
My most apologies for yet another dummy question, but i google and
google, and i always end up seeing examples fulls of complexity, when i
want is such a simple thing.
Thanking you in advance.
Warm Regards,
Mário Gamito
--
PHP General Mailing List (http://www.ph
Hi,
Following the previous discussion regarding confirmation of
subscriptions (to all the people who replied, my thanks), i now generate
an URL something like this:
http://www.bar.com/[EMAIL PROTECTED]&code=vu782
This hit will come from someone's mail client.
Then, in file confirma_registo_acti
Hi,
I have this simple piece of code that worked like a chram in PHP 4.x
Now that i've moved to PHP 5 it doesn't work anymore.
I always get 0 for $form_ok even if all fields are filled.
The variables come from a form in a previous page.
Any ideas on where the problem might be ?
I have "register_
re is that the part ,0,1, is not stringed, while C is.
So, what i get in the PDF is
Curriculum Vitae de Mário Gamito,0,0,C
(Mário Gamito == $full_name)
So, how to "unparse" the ,0,1, in the middle of the instruction ?
Any help would be apreciated.
Warm Regards,
Mário Gamito
--
PH
Hi,
Thank you all that answered my question.
It worked.
I think i'll never get used to this parsing PHP stuff :(
Warm Regards,
Mário Gamito
[EMAIL PROTECTED] wrote:
> $url = ".HtmlEntities($url)."\">".";
>
> It appears the parse error is at the end of y
Hi,
Thank you all that answered my question.
It worked.
I think i'll never get used to this parsing PHP stuff :(
Warm Regards,
Mário Gamito
[EMAIL PROTECTED] wrote:
$url = ".HtmlEntities($url)."\">".";
It appears the parse error is at the end of your opening li
i get.
Can't get there :(
Any help would be apreciated.
Warm regards,
Mário Gamito
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Richard,
Thanks a lot for your tip and explanation.
It did worked :)
Warm Regards,
Mário Gamito
Richard Davey wrote:
Hello Mário,
Tuesday, March 22, 2005, 11:42:13 AM, you wrote:
MG> However, if you click and go to the respective page, you'll see that the
MG> "@" is s
Hi,
If you care to take a peak at http://www.dte.ua.pt/cv/
and pass your mouse over the link "Mário Gamito", you'll see in the
status bar that the link is:
http://www.dte.ua.pt/cv/[EMAIL PROTECTED]
Allright.
However, if you click and go to the respective page, you'll
Links",
but... it doen't, becuase i can't straight the escaping :(
Any help would be apreciated.
The code follows my signature.
Warm Regards,
Mário Gamito
--
// select names to display in the right column
$recordSet = &$conn->Execute('SELECT name FROM users');
whil
Links",
but... it doen't, becuase i can't straight the escaping :(
Any help would be apreciated.
The code follows my signature.
Warm Regards,
Mário Gamito
--
// select names to display in the right column
$recordSet = &$conn->Execute('SELECT name FROM users');
whil
Hi Sokolewicz,
Thanks a lot.
It just working really fine :)
Thank you again.
Warm regards,
Mário Gamito
M. Sokolewicz wrote:
> Mário Gamito wrote:
>
>> Hi,
>>
>> In Portgal we have big names.
>> My complete name, for instance, is "Mário Augusto Machado d
ull big name
like mine, but i want to shorten them just to the first and the last.
For example, if i fill the form with "Mário Augusto Machado dos Reis
Gamito", i want to change this string to only "Mário Gamito".
The total number of names is not fix.
Could be 3, 4, 5, 6,...
t,
well... as i've told you, it isn't.
Any ideas of how to solve this, i.e., being the regular expression (and
it is), what do i have to do to get only the invalid adresses ?
In short, i only want to trap the invalid ones.
Any help would be apreciated.
Warm Regards,
Mário Gamito
--
PHP
f('all_not_filled') // def is a JS function in js.php
?>
(...)
--
How can i do this ?
How to tell PHP, that def(word) is a JS function in js.php file ?
I've tried include ('js.php'), etc., but got no results :(
Any help would be apreciated.
Best regards,
Mário Gamito
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hp on line 12"
and no redirection :(
How can i solve this ?
Any help would be apreciated.
Warm Regards,
Mário Gamito
$hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);
$sub_domain = explode (".", $hostname);
if ($sub_domain[1] != 'dte') {
echo&qu
Hi,
Does anyone knows of a free library to compile PHP against and have PDF
functions support ?
Any help would be apreciated.
Warm regards,
Mário Gamito
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the mood to make PHP
warnings appear at the bottom too. But...
... i've browsed php.ini and didn't found any way (obvious, at least) to
do the same thing in Linux.
Already googled also, but nothing.
Is it possible to achieve this in Linux ?
Any help would be apreciated.
Warm regards.
--
Warm Regards,
Mário Gamito
Manuel Lemos wrote:
Hello,
Mário gamito said the following on 12/14/2004 08:51 AM:
Does anyone around here knows a *good* and *free* encoder for PHP5 ?
I used to run Turck, but it seems that somehow it has been discontinued.
(At least, the last release occured about a yea
Hi,
Does anyone around here knows a *good* and *free* encoder for PHP5 ?
I used to run Turck, but it seems that somehow it has been discontinued.
(At least, the last release occured about a year ago).
Any help would be apreciated.
Warm Regards.
--
Mário Gamito
Administração de sistemas e
Hi,
I need to kill (squid) -D
pidof (squid) -D gives an error :(
Regards,
Mário Gamito
raditha dissanayake wrote:
Mário Gamito wrote:
Hi,
I need to restart squid from PHP, but my squi doesn't stop because a
lot of stupid errors.
So, i need to kill it and then start it again.
killing a pr
1.0 8392 5060 ?S16:04 0:00 (squid) -D
How can i get this pid so i can kill -9 it and then start squid again ?
Any help would be appreciated.
Warm Regards,
Mário Gamito
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
> Is /home/vhosts/dte/ticct/include/complete_url.php readable
> for the apache process?
Sure :-)
Warm Regards,
Mário Gamito
smime.p7s
Description: S/MIME cryptographic signature
complete_url is in it's place.
Any ideas ?
Warm Regards,
Mário Gamito
> -Original Message-
> From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 08, 2004 11:34 PM
> To: Mário Gamito
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] Very, very wiered pro
hough it's there.
I'm running SuSE 9, with a compiled Apache 1.3.29, PHP 4.3.4, and MySQL
3.23.28
Can it be SuSE's compiler the source of the problem ?
It's random character makes it so difficult to debug :-(
Any ideas would be apreciated.
Warm Regards,
Mário Gamito
Hi,
I have this class for sending mail, which worked until PHP 4.2.3
Since 4.3.0 it stops functioning. No error message. The mail is simply
not send.
I've searched everywhere and found no explanation for this behaviour.
Any help would be appreciated.
Warm regards,
Mário Gamito
Hi,
I have this class for sending mail, which worked until PHP 4.2.3
Since 4.3.0 it stops functioning. No error message. The mail is simply
not send.
I've searched everywhere and found no explanation for this behaviour.
Any help would be appreciated.
Warm regards,
Mário Gamito
70 matches
Mail list logo