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
;
-- end code
The Segments object is a class with some functionality but, after
processing the results of each row it stores two integers (or floats due
to the large numbers, number of seconds from epoch * 1.0 +
microseconds).
I will try to implement this chunk mode of fetching the data
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
wrote:
Dear list,
I developed a script that
regards,
Marcelo Bianchi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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 General
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 put
he use
of a distributed filesystem, since I think I will just pre-process the
images in batch to add the watermark, the use of HDD space will grow
considerably as time goes by and the app grow. Is this approach transparent
enough so that architectural changes to the app wouldn't be necessar
ts 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.
Thanks.
I solved it using this :
$x = 0;
foreach ($equipos as $key => $val){
$x = $x + 1;
echo "";
echo $x . "";
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
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 :
> > [...]
> >
> > f
quot;" . "";
echo $val . "";
print "" . "";
}
?>
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:
>
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 wit
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]
test.txt' INTO TABLE test 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
ere a quick 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
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 =
nections I 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
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 aga
to see ( the
id=XX one ) from the others rows, can someone advice me ?
Here is the code I have so far, I hope it serve as a better explanation
than mine!
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 ch
; this is correct;
mysql_connect("localhost",$db_user,$db_pass) or die (mysql_error());;
mysql_select_db ($db_table);
$user_Query = mysql_query("INSERT INTO tb_downloads (var_title,
var_filepath, var_filetype, dt_data, bol_active) VALUES ('$title',
'$filePath',
id
so if he changed 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
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 s
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 shoul
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi guys, I have a script that send emails to mobiles:
And this is the message in a mobile: [EMAIL PROTECTED]
I don´t know why appear the address [EMAIL PROTECTED] the address must
be: [EMAIL PROTECTED], could you help me please, thank you
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´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 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.
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.
Flash programmer 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.
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 infor
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
print_r($_COOKIE) Array ( [PHPSESSID] =>
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 )
A
print_r($_COOKIE) Array ( [PHPSESSID] => b44590661eba2475ea2ff8a96d53c0b6 )
print_r($_SESSION) Array ( [LANG] => en [user] => __PHP_Incomplete_Class Object (
[__PHP_Incomplete_Class_Name] => user [ID] => 30 [nick] => Username [password] =>
37bfafe651a55e
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
;
and two 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 th
quot; $categoria
$nombre ";
}
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 mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.4
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 d
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
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
";
$content .=" Últimos 10 Concursos";
$content .= ""
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 Datab
" $categoria
$nombre ";
}
$content .= "";
?>
+
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 certif
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
Ok I'm back
This script is to upload 2 image files
Whit register_globals = on it Works fine
script A
"p.php"
Jornal O Leme
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
>
uot;none") && ($origem2 <> "")){
if (copy($origem2,$dest2)){;
} else {
echo "directoria sem direitos de escrita ";
}
unlink ($origem2);
}
}
?>
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
'
*** Error code 1
Stop in /usr/src/apache_1.3.20/src/helpers.
[..]
What's the problem here?
Thanks in advace
Marcelo Gulin
--
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 administrators, e-mail: [EMAIL PROTECTED]
lumn 7: PLS-00221:
'PEDIDO' is not a procedure or is undefined ORA-06550: line 1, column 7:
PL/SQL: Statement ignored in /www/htdocs/mariamercado/teste.phtml on
line 64
(())
---//---
Can I execute functions ? If yes, what may be wrong ?
Thank you very much,
--
Marcelo Dias de Toledo
N-Web
ous ``this page cannot 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
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 t
If the cookie isn't 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-mai
erate them automagicly...
See ya,
Marcelo
bphp3modules/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,
Why can't I found neither LIBPHP3.SO nor MOD_PHP3.SO ???
Thanks
Marcelo Pereira
Programmer
t, I dunno 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 All,
How can I show images, captured by a webcamp, in my website using PHP ???
Thanks,
Marcelo Pereira
link was active ???
I really would like to get it.
Thanks in advance,
Marcelo Pereira
Unicamp - Brasil
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
Hi Karl!
try...
echo "...are you logged in: " . $LoggedIn() . "";
regards
Marcelo Gulin
"Karl J. Stubsjoen" escribió:
>
> Okay, what is wrong with this:
>
>echo "...are you logged in: $LoggedIn()";
> // outputs:...are
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 Gene
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.
Hi!
Make sure that your httpd.conf file include
AddType application/x-httpd-php .php .php3
regards
hope it helps
Marcelo Gulin
[EMAIL PROTECTED] escribió:
>
> Howdy.
>
> I have a SuSE 7.0 Linux install with apache and mod_php4. I can
> do .php files all day lon
Hi!
yes, you can escape like in php o c.
regards
Marcelo Gulin
Brandon Orther escribió:
>
> Hello,
>
> I am making a PHP script that makes a JavaScript. Is there a way in java to
> escape a character like in php. (in php you use &quo
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,
>
> Augus
Hi!
php manual...
http://www.php.net/manual/features.persistent-connections.php
regards
Marcelo Gulin
Kayra Otaner escribió:
>
> Hi,
>
> I am searching for detailed information about persistent connection. I've
> looked at all the web sites just for "pers
66 matches
Mail list logo