direitos de escrita br;
}
unlink ($origem2);
}
}
?
/body
/html
and yes i am new to php
tk
Marcelo Salvador
www.sinesdigital.pt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Still needing help
please help me
Marcelo [EMAIL PROTECTED] wrote in message
news:20021102001942.34689.qmail;pb1.pair.com...
Hi need some help please
What is wrong with my code?
it is supposed to upload 2 files but instead gives me this error
Warning: Unable to open 'Array' for reading
Ok I'm back
This script is to upload 2 image files
Whit register_globals = on it Works fine
script A
p.php
titleJornal O Leme/title
meta http-equiv=Content-Type content=text/html; charset=iso-8859-1
/head
body bgcolor=#006699
table width=100% border=0 cellpadding=0 cellspacing=0
Hi!
ShowMessage();
regards
Marcelo Gulin
Augusto Cesar Castoldi escribi:
How do I use a function?
I did:
function ShowMessage {
echo "Show message...\n";
}
How can I call the function now?
thanks,
Augusto Cesar Castoldi
--
PHP General Mailing
Hi Bruno!
what database are you using?
for mysql, you can use mysql_data_seek function.
regards
Marcelo Gulin
Bruno Freire escribi:
Hi My name is Bruno, I'm in Brazil and I'm new in PHP...
I wanna know how can I roll in the records in a dataset.
Like...
Move First
Move last
Hi Todd!
if $a = 3.5 then
echo (int)$a // print 3
regards
Marcelo Gulin
Todd Cary escribi:
What is the syntax for dividing 7 by 2 and getting 3; not 3.5?
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net
Hi, All.
I have to build a web site and I was
studying postgreSQL, but, whether I am
quite wrong or this database does not
support Foreign Key.
Does anyone use postgreSQL and know
how handle Foreign Keys ???
Thanks,
Marcelo Pereira
Computer Programmer
the link was active ???
I really would like to get it.
Thanks in advance,
Marcelo Pereira
Unicamp - Brasil
Hi All,
How can I show images, captured by a webcamp, in my website using PHP ???
Thanks,
Marcelo Pereira
where is this (libphp3.so) file... and I also don't know where is the
mod_php3.so file.
What did I do wrong ???
Thanks in advance,
Marcelo Pereira
Programmer
Hi,
Why can't I found neither LIBPHP3.SO nor MOD_PHP3.SO ???
Thanks
Marcelo Pereira
Programmer
modules/libpgp3.so
WHERE is this file ???
I could NOT get it running,
Is there anyone here that could, for the love of god, help me to install it with pgsql
support on my system ???
Thanks, really thanks, in advance,
Marcelo Pereira
Programmer
Hi list
We here at ZeroCinco Propaganda are looking for a PHP Developer to
assist me in our web projects
Must have a good knoledge of PHP and mySQL, and integration with
ActionScript.
Also you need to be confortable using Photoshop.
If you are interested send your resume to
[EMAIL PROTECTED]
may get the
wrong one, so that's the why of my question.
TIA
Marcelo Wolfgang
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and simple way to convert the row string into a INSERT
query ?
Should I try some manipulation first with the TXT file ?
TIA
Marcelo Wolfgang
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
FIELDS TERMINATED BY
'^' LINES STARTING BY '20';
$Query = mysql_query($SQL);
TIA
Marcelo Wolfgang
Jason Pruim wrote:
On Oct 18, 2007, at 2:29 PM, Marcelo Wolfgang wrote:
Hi all,
I need some helps/tips to know if a transition from a txt file to a
sql database is viable to do.
I have
in consideration that not all UTF-8 can be
converted to ISO-8859-1 (chinese, for example)
Thanks in advance!
--
Marcelo Volmaro
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
But my problem is that the information i get from the fget or curl is
ALREADY converted!!!
And by what i see, the function overloading don´t work on fget.
On Mon, 18 Jul 2005 18:56:36 -0300, Jochem Maas [EMAIL PROTECTED]
wrote:
Marcelo Volmaro wrote:
Hi!,
I need to get some information
there, then a 'expires page' is showed
Which is the better way to do it ???
Thanks in advance,
Marcelo Pereira
Programmer
--
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
Hi,
How about enclose the parameters with quotes ???
See ya,
Marcelo Pereira
Programmer
- Original Message -
From: Mike [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 17, 2001 10:17 AM
Subject: [PHP] Form Field
Im trying to pass a form variable to anouther page
be displayed''.
I've read the php documentation but I dont think this is the problem..
Using unix clients the things goes very well...
What did I go wrong ??
See ya,
Marcelo Pereira
Unicamp - Brazil
] = b44590661eba2475ea2ff8a96d53c0b6 )
print_r($_SESSION) Array ( [LANG] = en [user] = __PHP_Incomplete_Class Object (
[__PHP_Incomplete_Class_Name] = user [ID] = 30 [nick] = Username [password] =
37bfafe651a55eef [group] = 5 )
Any idea?
Regards,
--
Marcelo Volmaro - CTO
__
Binomic
] =
b44590661eba2475ea2ff8a96d53c0b6 )
print_r($_SESSION) Array ( [LANG] = en [user] =
__PHP_Incomplete_Class Object ( [__PHP_Incomplete_Class_Name] = user
[ID] = 30 [nick] = Username [password] = 37bfafe651a55eef [group] = 5 )
Any idea?
Regards,
--
Marcelo Volmaro
--
PHP General Mailing List (http
I need a function that rounds up fractions (0.10) not an integer like ceil, or what
parameters do I need to give to ceil() to round up fractions?
I hope you understood me.
Thanxs.
MArcelo
WHERE `auto_id` = $id);
mysql_close();
?
The page is executed, but it don't update the table ... I've tried with
the '' and without it ( the phpmyadmin page is where I got the idea of
using the '' ). Any clues ?
Also, how can I make a redirect after the query has run ?
TIA
Marcelo Wolfgang
Hi,
It's fixed, I think the problem where at the '==' ... I have to remember
that in PHP this is like ActionScript.
Also, what if $_GET['act'] is neither 'a' or 'd'?
Again, what if $_GET['id'] is null?
The only way to not be 'a' or 'd' or to be null is if someone mess with
url, which
and what if $_GET['id'] is something like
1; DROP TABLE tb_emails;
??
SQL injection just waits to happen
I think tha tit will be too much of a hacker effort just to kill a table
of contact emails, and also he will have to guess ( is there other way
? ) the table name, but just to be on a
the $action or the $id, it will be inside the UPDATE,
doesn't changing any of the variables to a DROP TABLE just give an error ?
TIA
Marcelo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is
there for debug only
?
TIA
Marcelo Wolfgang
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Richard Lynch wrote:
Browsers will probably NOT populate these reliably...
Mac Safari, might, for example, choose application/x-pdf for the PDF
file.
You really can't rely on 'type' to be useful in any way, shape, or form.
Thanks for the tips, I've deleted this check, and changed how I
,$user,$pass) or die (mysql_error());
mysql_select_db ($db_table);
$SQL = SELECT * FROM tb_noticias $whereClause ORDER BY auto_id DESC;
$news_Query = mysql_query($SQL);
$recordCount = mysql_numrows($news_Query);
mysql_close();
?
TIA
Marcelo Wolfgang
--
PHP General Mailing List (http://www.php.net
Wow,
Thanks for all the ideas, I'll explore all of them. I have the content
people messing with the adm so it's hard to try things I don't fully
understand by now
About the sql injection, the db user I set for this has only select
privileges, should I be worried even with this ?
Thanks
regards,
Marcelo Bianchi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Matijn,
That is good test, to install php 32bit side to side with the 64bit to
test. Will see how hard is to accomplish that.
regards,
Marcelo
On 09/25/2012 01:58 PM, Matijn Woudt wrote:
On Tue, Sep 25, 2012 at 12:49 PM, Marcelo Bianchi
mbian...@gfz-potsdam.de wrote:
Dear list,
I
of fetching the data from sql to
see if the php consumption goes down.
regards,
Marcelo
On 09/25/2012 02:23 PM, shiplu wrote:
I would like to see how you are reading data from database?
There are many ways to reduce memory usage. Here is a very common way
reduce memory.
instead of
$res
On 09/25/2012 02:40 PM, shiplu wrote:
Also if the final data on presentation layer is very small you can
calculate it in mysql using stored procedure.
okay, also something to try.
thank you !
regards,
marcelo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
HI,
I'm working with an associative array, and generating its data a form. I use
foreach to loops the contents of the array and echo to print the table and
the data. Everything goes well, however I would like to add a counter to
print the row's number.
The question : Am I able to add a counter
value=\e\ / . /tdtd;
echo $val . /tdtd;
print input type=\radio\ name=$key value=\b\ / . /tdtd;
}
?
I use the array to generate the name of the radio and so on. However I had
problems with the counter.
Thanks
2007/11/15, Stut [EMAIL PROTECTED]:
Juan Marcelo Rodríguez wrote:
I'm working
2007/11/15, Philip Thompson [EMAIL PROTECTED]:
On Nov 15, 2007 5:12 PM, Juan Marcelo Rodríguez
[EMAIL PROTECTED]
wrote:
Yes, I made a mistake in the first sentence.
The code is :
[...]
foreach ($equipos as $key = $val){
echo trtd;
echo 1 . /tdtd; // I would like to add
Thanks.
I solved it using this :
$x = 0;
foreach ($equipos as $key = $val){
$x = $x + 1;
echo trtd;
echo $x . /tdtd;
2007/11/15, Michael McGlothlin [EMAIL PROTECTED]:
$x = 0;
foreach ( $blah as $bleh ) {
$x = $x + 1;
print $x: $bleh;
}
HI,
I'm working with an associative array, and
How could I iterate over the files in a directory and build a list of unique
filenames? Take the following filelist:
file1_01.jpg
file2_01.jpg
file2_02.jpg
file2_03.jpg
file3_01.jpg
file3_02.jpg
file3_03.jpg
file4_01.jpg
file4_02.jpg
file4_03.jpg
I would like to build an array like this: $names
and the Flash 8 API Date
datatype also only understands unix timestamps. Taking this into account,
I'm not really sure if it really worths it to move to the DATETIME
datatype. What would you do? Any advice would be much appreciated!
Marcelo.
I have to make a domain search so I don´t know if there is an API or
something that could help me in this o if you know how I could make this.
Thank you.
Hi ereryone I need to do an script into a web page to know if a domain is
registered so I don´t know how to send a query to internic or what I have
to do to get this.
Thank you, I hope your help.
of disk space.
PS: I've put DoS in the subject tagline meaning Denial of Service as I think
that maybe dynamic processing of images X lots of request could result in
DoS.
Thanks in advance,
Marcelo.
as time goes by and the app grow. Is this approach transparent
enough so that architectural changes to the app wouldn't be necessary?
Thank you all for the replies!
Marcelo.
On Thu, Aug 7, 2008 at 3:52 AM, Per Jessen [EMAIL PROTECTED] wrote:
Bernhard Kohl wrote:
I think it also depends
64
(())
---//---
Can I execute functions ? If yes, what may be wrong ?
Thank you very much,
--
Marcelo Dias de Toledo
N-Web E-Commerce - http://www.nweb.com.br
mailto:[EMAIL PROTECTED]
Phone: 55 71 341-8474 - Fax: 55 71 341-8480
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
$categoria
br $nombre/b/anbsp;;
}
$content .= /table;
?
+
This is the error message showed:
Warning: Wrong parameter count for mysql_fetch_row() in
f:\webdoc\html\blocks\block-Concurso.php on line 41
Thanks very much
Marcelo
---
Outgoing mail is certified Virus Free.
Checked
What this message means?
What it is the error?
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result
resource in f:\.\none.php on line 286
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.488 / Virus
What this message means?
What it is the error?
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result
resource in f:\.\none.php on line 42
This is the code.
Thanks very much.
Marcelo
?php
if (eregi(block-Concurso.php, $PHP_SELF)) {
Header(Location: index.php
Hi Thomas and All,
why are you using sql_query through your code?
its
mysql_query for mysql!
I use phpnuke and it have a sql_layer.php. You are correct, for mysql is
mysql_query. But this dont is the problem, I change it and the problem
continue!
Any tip??
Thanks
Marcelo
- Original
Hi Janet,
I dont have know how in php.
I inserted the function mysql_error() in my code and it dont return any
message!
Thanks
Marcelo
This means that when you did:
$result = mysql_query($sql);
$result did not end up with a valid resource in it. Then, when you do the
fetch row command
)) {
$content .= img src=blocks/images/diamond.gifnbsp;a
href=\modules.php?name=Concurso\font color=\#096C88\b$categoria
/b $nombre/anbsp;;
}
It works very good!
My question:
In while instruction have a $result and $dbi. They dont are necessary in the
sql_query? Understand me?
Marcelo
---
Outgoing
Hi guys, I´m beginner in php, so I need some help. I have to make a
script to send SMS to moviles phones, can you give some ideas how to
make it please... Thank you
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi guys, I need to send a email to mobiles I don´t know if I have to use the
function mail( ) or if I have to use other one. Thanks your help
Hi guys, I have a script that send emails to mobiles:
?php
$subject=$_REQUEST[sb];
$nmobile=trim($_REQUEST[nmobile]);
$message=$_REQUEST[message];
$header=From: [EMAIL PROTECTED];
//Bolivia providers
switch($nmobile[1]){
case 0: $company=@viva-gsm.com; break;
case 1:
Hi people,
I have some doubts about this topic that I'm gonna explain.
I have a few sites in flash, and I was requested to write a PHP frontend
to send news. I have this already done and it works perfect. It's a LAMP
App to send and edit news, post video, images and so on.
Then, I need to
Hi guys,
Do you know some good books about RESTful Web Services / API's using PHP?.
Also, if you know some website where I could find papers, pdf's and
articles about this topic would be useful, too.
I saw the documentation about this topics is not so easy to find.
Best,
Juan
--
PHP
Hola, bueno acabo de incribirme el la lista y queria saber si alguno de ustedes
tiene un manual PHP basico que me pueda enviar o decir donde poder bajarlo,
para orientarme un poco.
gracias
Marcelo
variables must be able on script..
putenv(ORACLE_HOME=/path/to/oracle);
and ORACLE_SID
putenv(ORACLE_SID, ORACLE_SID_HERE);
hope that helps
--Marcelo
--- Martin McCormick [EMAIL PROTECTED]
escreveu: I installed the FreeBSD port of php4.3.4.
In order
to query a
remote database server
60 matches
Mail list logo