Hi!
I'm trying to make a webpage which can be edited online. My problem is
the text that I need to be edited will contain of title and sub title
(here is an example of the layout)
Room for Rent
(picture of the room) bala bala
.
..
sorry I accidently send my message before I finished typing.
--
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]
Hi!
Could someone please help...
How do I send variable(s) over the url and I want to send it to the the
same page (not opening a new page)
Thank you very much for reviewing my email.
Dani
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi Jason!
thanks for your email.
I have tried
http://www.mywebsite.com/mypage.php?myvariable1=value1&myvariable2=value2
and adding this into my form
">
but I still get some error like this > The specified CGI application
misbehaved by not returning a complete set of HTTP headers. The
Hi again!
I'm trying to develop a website where the user can edit the article
online. What is the best way to do this?
is it better using database or fopen() functions?
in mycase because the text (article ) is containing some pre formated
text, which one is the best way to do it?
Thank you!
one and it became just a straigh line. What
function should I use in this case???
Could anybody please help?
Thank you!
Dani
> Hi Dani,
>
> For sure you can use a database. There are two ways of using your pr
> formatted text.
>
> 1)Allow HTML-entries for your database. Because
quot;); ->>>> THIS DOESN'T
GIVE ME A NEW LINE EITHER, WHY ??
while ($row = mysql_fetch_array($result))
{
echo "$row[item_type]" , "$row[class]";
}
?>
Any reply is greatly appriciated
Regards,
Dani
--
PHP General Mailing L
Thanks Alot Guys!!!
It works!
now my next question is :
When do I actually use "\n"???
Thank you so much!
Gianluca Baldo wrote:
> Dani -
>
> D> echo "Result :\n"; ->>> THIS DOESN'T GIVE ME A
> D> NEW LINE- WHY
'";
$result = mysql_query($query);
$row = mysql_fetch_array($result);
echo "$row[item_id]","";
while ($row = mysql_fetch_array($result))
{
echo "WHILE RESULT","$row[item_type]","","$row[class]";
}
thank you again!
regards,
Thanks very much!
it works!
Sincerely,
Dani
Thomas Holton wrote:
> You should be able to use "and" as many times as you want.
> You should also make sure that the query you are making below is returning
> the number of records you think it should be:
> $numrecords =
spidering?
any suggestion is appriciated.
regards,
Dani
--
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]
Hi!
I 'm trying not to hard code my php coding and I'm trying to pass a
variable name into the $row[coloumname_$variable];
I get an error message for this code.
I'm just wondering if I could do this trick using other ways of writing
it.
Thanks for reviewing!
regards,
Dani
Thanks for the reply!
I really appriciate it!
I'll try it first!
regards,
Dani
Stefan Rusterholz wrote:
> > Hi!
> >
> > I 'm trying not to hard code my php coding and I'm trying to pass a
> > variable name into the $row[coloumname_$variable];
>
hi again!
I tried it but it desn't give me any result back.
It dosn't print any error message but it desn't print my result either.
this is how I place the code:
echo "...some html code...";
$row["somename_$var"];
echo "...the continuation of the html code";
thanks!
Stefan Rusterholz wrote:
hi!
I 'm trying to make my script to check one by one whether there is a
content in the field on a record.
How do I do that?
I use mysql_num_fields() but it doesn't work.
Any reply is appriciated!
regards,
Dani
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
he request. Please ensure that you have
the proper MIME type set up for the resource you are requesting.
Please contact the server's administrator if this problem persists."
What have I done wrong
Any reply is appriciated!
Thank you for reviewing my email.
regards
Dani
--
PHP Genera
ter("session_login");
$session_login =$lgname;
include("admin.php");
}
else
{
echo"Not a member!";
}
}
thanks!
Nick Wilson wrote:
> -BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
Hi again!
I tried it and I still get the error.
Do you think that this has somthing todo with my PWS server? or the installation
of PHP?
thanks!
Nick Wilson wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> * On 19-01-02 at 12:35
> * Dani said
>
> > Hi
Hi !
thanks for the info.
when I tried to open some of include files directly from the browser, they
work fine.
So I guess it's just my authentician page which doesn't work.
I'll keep trying.
Thanks again!
Nick Wilson wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> * On 19-01-0
Hi Again!
I found the problem!
It seems that netscape can't take an empty value for 'action' in the form
tag. here is the example:
this will result ERROR because the value for the action is written.
this one works:
I hope this help for those who are trying to use Netscape.
file extension.
What I got is all the path of the file and the file name changed into
.TMP or some sort.
How do I retrived file names and it's extension in this situation?
note: The original file extensions that I want to get are mostly .jpg or
.gif.
thanks for reviewing my email.
regards,
Dani
ll of these..
Thanks alot!
regards
Dani
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi!
I have seen lots of webiste with a sign "[EMAIL PROTECTED] 2002" etc...
if I would like to do that, do I have to register myself to a certain
company or.. I just put it on my website?
Thanks!
regards
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.ph
I just send this again, just incase my email doesn't get through.
thanks
Dani wrote:
> Hi!
> I have seen lots of webiste with a sign "[EMAIL PROTECTED] 2002" etc...
>
> if I would like to do that, do I have to register myself to a certain
> company or.. I just pu
;
> - Original Message -
> From: "Dani" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, February 19, 2002 3:24 PM
> Subject: [PHP] please reply -copy right
>
> > I just send this again, just incase my email doesn't get through.
&g
Hi,
I have been using this code for while:
//1. CONNECT TO DATABASE
mysql_connect("localhost");
//2. SELECT A DATABASE
mysql_select_db("smpk2");
to connect to MYSQL database.
but I get this error:
Warning: Access denied for user: 'nobody@localhost' (Using password: NO)
in /www/host/doms/com/s
Thanks radix!
I'm new to PHP that's why..
so, what should I do to fix this?
please advise..
thanks again.
Dani
The_RadiX wrote:
> Ha.. Aussie person too eh?
>
> Ok.. Have you recently updated your php system?
>
> Reason I ask is the way you are using the fu
Hi everyone!
I'm still learning PHP and MYSQL using windows98, MYSQL, PHP 4 in my
local hard drive.
I want to learn uploading image and resizing image in my local machine.
when I execute this code:
http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. via an
Apache Action directive."
what does this mean?
thanks,
Dani
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
probelm Fix!\
thanks
Dani wrote:
> I have just installed the PHP 4.2.1 Installer but get this error message:
>
> "Security Alert! The PHP CGI cannot be accessed directly.
> This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a
> page will only
Hi again,
I have got this script :
but when I execute the script I got this ERROR MESSAGE:
Cannot add header information - headers already sent by (output started
at D:\graphic_practise\index.php:10) in D:\graphic_practise\index.php on
line 25
Any advise?
thanks!
--
PHP General Mailing Li
Thanks Miguel!
I have checked everything but it seems there aren't any blank space but I
still get the error message.
Miguel Cruz wrote:
> On Sat, 25 May 2002, Dani wrote:
> > I have got this script :
> > > //setup image
> > $height = 200;
> > $width = 20
ers have stated.
> I tried your example and had no problems with it...
>
> Dani wrote:
>
> >Hi again,
> >
> >I have got this script :
> > >//setup image
> >$height = 200;
> >$width = 200;
> >
> >$im = ImageCreate($width,$height);
> >$w
Hi,
I want to upload image file into a folder in webserver using HTML form.
What function do I use fo this purpose?
Thank you,
Dani
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What's wrong with my code?
\n");
if (copy($file,"http://sarjito/img/";))
{
print("file uploaded");
}
unlink($file);
}
?>
Any advise is welcome.
Thanks,
Dani
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have tried to use the filename but it's still not working.
here is the whole code I've got:
** First file called 'upload.php'
Untitled Document
File
**second file called 'uploadfile.php'
\n";
copy($file,"D:/graphic_practise/
Thanks for replying
Sorry about not providing the info
well... when I hit submit button, it goes to the 'uploadfile.php' page, but it
doesn't print anything at all. I check in my folder and the file is not copied
either.
thanks,
Dani
"1LT John W. Holmes" wrote:
Hi everyone,
I'm new to this...
What is the best way to make Search Engine Crawler still index us
although we are using a script (PHP) to detect the IP of the crawler to
provide the keywords for a certain crawler?
Any advise is welcome..
Dani
--
PHP General Mailing List (http://www.ph
Thanks very much for the advice!
Was that actually the way to do it?
If it is,where can I get list of the IPs, please...
thanks again...
Dani
James Holden wrote:
> Does it matter?
>
> The search engine doesnt know your producing dynamic content, its just
> requesting a
Thank you...everyone!
I really appriciated it.
Where can I learn about all of this?
Is there a tutorial website about this?
thanks again.
Dani
[EMAIL PROTECTED] wrote:
> > James Holden wrote:
> >
> >> Does it matter?
> >>
> >> The search engine doe
raphs are
gone... and everything is just in one line.
I'm just wondering if there is another way to preserve a pre-formated
text (for example from Ms Word) that the user put into the form and the
insert into the database without including the HTML tags.
thanks.
regards,
Dani
--
PHP Gener
e.com";>
any explaination is grately appriciated.
regards,
Dani
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks guys!
"Thalis A. Kalfigopoulos" wrote:
> On Sat, 23 Feb 2002, Dani wrote:
>
> > Hi!
> >
> > I have just visited a webiste and I have notice that user can't really
> > see the .php extension at the end of the URL address. And when I look a
e to learn. I hope someone could help me.
thanks
Regards,
Dani
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
I have tried some testing but I always get the result entered by users
are flat. The paragraphs are gone. How do I do this?
regards,
Dani
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
from home with my machine
but I don't know how to make it so that the web pages that I put in
my
server accessable by other people around the world.
do I have to connect my modem into my phone line (online) all the
time
or...???
Does my question make any sense?
any help is welcome.
regards,
may be somebody could help me, please.
thank you for reviewing my email.
regards,
Dani
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have been trying to use a form to send an email.
I use the mail() function. But I have a bit of problem.
The email send does not display the email is from. So, for example I
send an email using my my webform then when I receive it the from
coloumn in my email browser says "nobody".
how do
Hi,
I'm just wondering if anybody know if there is a free web hosting with
MYSQL and PHP. I don't need a hugh space. mya be I need only 50Meg (for
practise my PHP)
thanks!
regards,
Dani
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
sent to the new page, and I'm trying to do this:
$estabID = $_POST['te_es_n_id'];
What am I doing wrong?
Thank you for any help. :)
Dani
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello, everybody
my problem is the following: I just imported a csv file to a MySQL database
that contains name and email fields. It has about 9k lines on it and I need
a new field that orinally didn't exist called "code" thats suposed to be
MD5(name.email)
I know how to do this for new data, bu
file size should be
150Kb.
Thank you for your help! :))
Dani
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.488 / Virus Database: 287 - Release Date: 5/6/2003
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
I just want to know if the mail function works from a localhost (local
server)?
I've checked my php.ini all the setting are right but the mail function is
not sending any mail, any idea?
best regards.
_
Solve the Conspiracy and
Hi all!
Does anybody know a PHP library to create Flow chart graphs??
I need it to do something like this:
(yes)
Is it true > ? ---> Update
|
(no) |
|
>
Cancel
Thank you in advance!
--
P
Hi list!
I have a problem with DOMDocument loadXML method. I used Windows to
develop my applications, and nothing happens on it when i do something like
$xml = new DOMDocument();
$xml->loadXML( $request );
Obviously, request is not empty...
But when I have upload this code to production mach
ió:
On Dec 10, 2007 4:48 AM, Dani Castaños <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hi list!
I have a problem with DOMDocument loadXML method. I used Windows to
develop my applications, and nothing happens on it when i do
something like
$xml = new D
entsByTagName( 'ticketType' )->item( 0
)->nodeValue;
$ticket_action = $xml->getElementsByTagName( 'ticketAction' )->item( 0
)->nodeValue;
$ticket_params = $xml->getElementsByTagName( 'parameters' )->item( 0
)->childNodes;
...
Nathan Nobbe escribió:
On D
It's just the xml is not properly stored in loadXML method... but the
string must be inside due to saveXML returns the proper value.
Nathan Nobbe escribió:
On Dec 10, 2007 12:08 PM, Dani Castaños <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Yep, it works when
that is expected behavior. some of the internal classes dont define
any member variables that the php language has access to. obviously
they are storing data internally, said variables just arent accessible as
member variables of the class thats being defined.
Ok! Thank you for this info...
Hi Nathan!
Thank you for all your help!
Problem has been fixed...
The thing is, when request is sent, there is a little difference in what
i get... I get and so on...
These backslashes make the loadXML not load data properly... I've put an
str_replace and the problem has been solved
Again..
Hi all!
I've read a bit about PHP session timeout. Is it configurable?? I mean,
If i want user logged out after 10 minutes of innactivity... where i can
to set it up?? Is it possible to expire session configuring php.ini.
I know i will have to write code to do whatever when the session expires
There are various configuration options for this (which you change in
the php.ini or by using the ini_set() function):
session.gc_maxlifetime
session.cookie_lifetime
Before sending my first mail, i've changed those parameters... and
nothing seems to change. I set up also session.cache_expi
Hi all, I've found the key of all... at least this is what I think ;-)
(And, again, at least, for Debian users)
The thing is I want to have control on what "exactly" a session lasts,
and advice the user some time before to renew the session if he wants.
If you only set gc_maxlifetime with ini_s
;Exception' with message
'SimpleXMLElement::__construct() expects parameter 1 to be string, array
given' in C:\Dani\htdocs\ticket_server\ticket_execute.php:134
Stack trace:
#0 C:\Dani\htdocs\ticket_server\ticket_execute.php(134):
SimpleXMLElement->__construct(Array, Object(clogger)
Nathan Nobbe escribió:
On Dec 31, 2007 7:11 AM, Dani Castaños <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hi all!
I'm using simplexml to load an xml into an object.
The XML is this:
3
agenda
cticket_agenda_ser
Hi all!
I'm looking for some piece of code or class which giving a phone number
it returns me from wich country is this phone.
Do you know where I can find something like this?
Thank you in advanced!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
Andrés Robinet escribió:
-Original Message-
From: Dani Castaños [mailto:[EMAIL PROTECTED]
Sent: Friday, February 29, 2008 5:03 AM
To: PHP LIST
Subject: [PHP] Get country from Phone number
Hi all!
I'm looking for some piece of code or class which giving a phone number
it returns me
As a little project, I took the link provided by "the other" Rob and
make this little search tool.
It only looks at the beginning numbers. It does no number
validation. I don't validate the length of the number. ie: I would
have to know the min/max lenth of each phone number for that give
68 matches
Mail list logo