Search found 14 matches

by infomorelos
Sat Oct 02, 2004 11:49 pm
Forum: PHP General
Topic: Play an audio file online ...
Replies: 6
Views: 1501

You don't even need a asfrecorder program

With several sound cards you can simply choose the 'what u hear' or similar option from the recording controls menu and use the integrated windows sound recorder. As this is digital recording, there is no quality loss. Just save the file of the song or record hours of internet radio streams as 'play...
by infomorelos
Fri Feb 14, 2003 1:25 am
Forum: PHP coding => General
Topic: logout
Replies: 3
Views: 1121

no parse error anymore, but session isn't killed

Ok, I removed the space in the logout.php file: <php session_start(); session_destroy(); Header("Location: ../index.htm) ?> This page is called from a link in a frame of a frameset with taget="_top" and the new location shows up. However, the Back-Button of my browser still works and gets me back in...
by infomorelos
Thu Feb 13, 2003 7:42 pm
Forum: PHP coding => General
Topic: logout
Replies: 3
Views: 1121

logout

I made a little php-page which is called after clicking a link on my main page: <? php session_start(); session_destroy(); echo 'thank you'; ?> Unfortunately, I get this message: Parse error: parse error, unexpected T_STRING in /home/ahcehc/paginas/tecmilenio/logout.php on line 2 What do I miss here...
by infomorelos
Tue Feb 11, 2003 9:32 am
Forum: mySQL & php coding
Topic: Primary keys
Replies: 2
Views: 1178

whitespaces

I tried and it seems to work , however, I'm concerned about possible compatiblity issues with PHP or XML....
by infomorelos
Sun Feb 09, 2003 1:40 pm
Forum: mySQL & php coding
Topic: Primary keys
Replies: 2
Views: 1178

Primary keys

I want to build my first tables and wonder: 1) can table/field names have white spaces and unlimited number of characters? 2) I call the table 'einheiten'. This table has about 25 fields which I?ve already created. I defined only one field as the primary key: 'id-key'. However, when creating the fie...
by infomorelos
Fri Feb 07, 2003 4:20 pm
Forum: PHP coding => General
Topic: forms in php?
Replies: 4
Views: 1681

that's a progress

That is already something. However, when I use this code, I get as a result a list of all rows in the table, how could I limit them to just the first row, or just the rows that contain 'somethin'?

Thank you in advance
by infomorelos
Thu Feb 06, 2003 9:40 pm
Forum: PHP coding => General
Topic: forms in php?
Replies: 4
Views: 1681

sounds interesting

sounds interesting.
now, if you want to put some php instructions into those echoed table fields, you just open/close curly brackets and write code in between? Or how do you embed the field content (which is php too)?

thank you in advance
by infomorelos
Wed Feb 05, 2003 4:21 pm
Forum: PHP coding => General
Topic: forms in php?
Replies: 4
Views: 1681

forms in php?

Hi, Usually (lol), I make html forms in Dreamweaver and lateron, I try to combine them with php and mysql editiing the code in notepad or similar. I was wondering, if I could built the tables directly in php. In other words: is it necessary to built tables and then insert php code into the form fiel...
by infomorelos
Tue Feb 04, 2003 1:52 am
Forum: mySQL & php coding
Topic: pics?
Replies: 3
Views: 1250

pics?

Hi,
can I put images into a MySQL table?
If so, which kind of field would that be?

Thank you in advance
by infomorelos
Sun Feb 02, 2003 10:07 pm
Forum: PHP coding => General
Topic: How to?
Replies: 3
Views: 1303

That doesn't seem to work

I inserted your code on this 'testt.php' page: <html> <head> <title>Ich teste</title> </head> <body> <? php if(1000+40+1000+30+1000+20+1000+10==$_REQUEST["form_field"]){ echo "correct"; } else { echo "Wrong"; } ?> <form name="form1" method="post" action="testt.php"> <p><font size="2">1000</font></p>...
by infomorelos
Sat Feb 01, 2003 1:09 am
Forum: PHP coding => General
Topic: How to?
Replies: 3
Views: 1303

How to?

I would like to find out how I can evaluate the result of an addition with php. the idea is 5+6=? if the user writes '11' into a form field and clics on 'submit', a message should say: 'Correct!' else the message should say: 'Wrong!' I fantasise that the basic structure could be: <? php if echo } el...
by infomorelos
Tue Jan 28, 2003 12:58 am
Forum: mySQL & php coding
Topic: Should be easy but where's the bug here?
Replies: 5
Views: 1992

latest news!

Hi Joan, I had written earlier in this thread that I need to redirect users from my index page to thei user-directory-index, depending on the username. I wouldn't know how to do that in Javascript. In the meanwhile, I've solved the problem: It was line 21 $result = mysql_query($sql, $connect); since...
by infomorelos
Mon Jan 27, 2003 2:10 pm
Forum: mySQL & php coding
Topic: Should be easy but where's the bug here?
Replies: 5
Views: 1992

Page doesn't show up any more

Thank you for your tip, it changed thing a little bit: The page doesn't show up any more, I'n getting redirected to the index file immediately (before the 'navega1.php' page shows up. I don't know what to do with line 21, where and how do I initializa the $connect variable? I have changed line 23 to...
by infomorelos
Mon Jan 27, 2003 12:20 am
Forum: mySQL & php coding
Topic: Should be easy but where's the bug here?
Replies: 5
Views: 1992

Should be easy but where's the bug here?

I have built a table benutzer with three columns: 'usuario', 'password' and 'redirect', all are 'varchar' and 'usuario' is PRIMARY KEY. Then I try to redirect users depending on the username/pasword-combination they supply. However, after typing in the combination ad clicking on 'submit', I get this...