EKINdesigns
-
Posts
53 -
Joined
-
Last visited
Never
Posts posted by EKINdesigns
-
-
Give this a try:
[code=php:0]if(($thumb_w < $old_x)){
$aspect_ratio = $thumb_w / $old_x;
$height = round($old_y * $aspect_ratio);
$width = $old_x;
}[/code] -
Hmm...It looks right, although i don't know what "session_name("sessName");" is. Try getting rid of that.
-
Whats wrong with generating the XML page using PHP?
-
@Daniel0:
That is the same thing as pressing the refresh button
@master82
Look into ajax. Its your best bet. -
Yeah, just place it at the bottom
-
Visitors cannot view php content. The only way they would be able to get the information inside the file is by logging in to something like FTP.
-
put this at the top of your page:
[code]ob_start();[/code] -
Why not have another, smaller, form inside the page? IE:
[code]<form action="..." method="post">
<input type="hidden" name="result_id" value="<?=$_GET['id'];?>">
<input type="submit" value="Delete this entry">
</form>[/code] -
Updated topic with more information.
-
Whats the funtion to increase the guests?
-
It doesnt look like there is anything wrong with the viewing script, but what happens when the script adds a guest to the database. Is there an error returned?
I had this same problem, and the solution was to add a primary field with the auto_increment value. Mine retured an error something to the effect of...duplicating primary values.
If you want to contact me, I might be able to help you further. -
Hey, can anyone supply me with a mysql quer parser.
Something that returs all the variables of a query string.
Example:
SELECT `id`,`name` FROM `table_name` WHERE `id`='2'
Would return:
[0] => 'SELECT'
[1] => [0] => 'id' [1] => 'name'
[2] => 'FROM'
[3] => 'table_name'
[4] => 'WHERE'
[5] => [0] => 'id' [1] => '=' [2] => '2'
And possibly do more advanced parsing than that.
If anyone can help i would appreciate it a lot! -
i am not sure why you would do a strip slashes. There shouldnt be any quotes in the password.
This is how i would do it:
[code]$password = mysql_escape_string(htmlentities($_POST['pw']));
$finalpw = md5($password);
[/code]
Enjoy! -
OK thanks...thats what i thought, ill give it a try.
I get an "Access denied for user: 'user@localhost' to database 'mysql'" -
Hey guys. How can i get the current users mysql permissions?
I connected to the database.
Should i run a query?
Help is much appreciated! -
Anyone?
-
I am using the PHP IMAP functions to recieve my email messages. But for some reason it doesnt retrieve them right.
This is an example message:
[code]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2873" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>this is a<STRONG>=20
test</STRONG></FONT></DIV></BODY></HTML>[/code]
Notice how it replaces "=" with "=3D" and new lines with "=".
If someone could please help it would be awsome! -
[!--quoteo(post=368851:date=Apr 26 2006, 09:49 AM:name=businessman332211)--][div class=\'quotetop\']QUOTE(businessman332211 @ Apr 26 2006, 09:49 AM) [snapback]368851[/snapback][/div][div class=\'quotemain\'][!--quotec--]
as I said whether you try it or not is up to you, go to the element where you are specifying the text, position it manually with the positions I gave you, and just move each one over it takes 5 minutes for each one, to get it looking right, if you need me to do it I guess I can, but I don't like working for free. just input the positions where they need to be, visually adjust it as you go, until it is positioned to perfection. Then you will have them where you want them.
[/quote]
I cant do it that way...The items are dynamicaly generated...and they are resizable....wont work that way. -
So what do I do? Nothing is working.
-
well, it works in FF but not in IE.
-
Never worked.
-
I am not sure i understand what you are saying...can you let me know exactly where to put the clearfix? and what to set the style too?
-
alright...I added the float: left to the #article tag and this is what happened:
[a href=\"http://ekindesigns.com/feedleaks/\" target=\"_blank\"]http://ekindesigns.com/feedleaks/[/a]
Notice how the first article is to the right a little and the bottom one float all the way to the left.
How would i fix this? -
[!--quoteo(post=363983:date=Apr 12 2006, 06:14 AM:name=moberemk)--][div class=\'quotetop\']QUOTE(moberemk @ Apr 12 2006, 06:14 AM) [snapback]363983[/snapback][/div][div class=\'quotemain\'][!--quotec--]
That's what it's supposed to do, actually. It isn't doing anything wrong; rather, you are. You need to specify that the dateblocks float to the left of your text by giving them the float: left; property.
[/quote]
I already have that code in there
[code]
#article #dateblock {
float: left;
left: 0px;
}
[/code]
lost password script?
in PHP Coding Help
Posted
I wouldn't do it this way. I would have them enter their email, send them an email with a verification link where they can set a new password. It avoids a lot of confusion.