Search Results

Showing results 1 to 40 of 71
Search took 0.01 seconds.
Search: Posts Made By: amigura
Forum: HTML and CSS May 18th, 2008
Replies: 1
Views: 569
Posted By amigura
change table cellspacing="0"
add padding: 5px; to table#sample td
Forum: PHP May 17th, 2008
Replies: 10
Views: 1,002
Posted By amigura
Forum: PHP May 17th, 2008
Replies: 10
Views: 1,002
Posted By amigura
:D i just noticed the limit 1 in original code. remove this and test original code or try one below.


<div id="news">

<div class="asnazzy">
<b class="atop"><b class="ab1"></b><b class="ab2...
Forum: PHP May 17th, 2008
Replies: 10
Solved: Sort Problem
Views: 1,075
Posted By amigura
when i try it i get

ASAD
ASAD
ASAD
AsAD
Asad
Asad
asad
asad
Forum: PHP May 17th, 2008
Replies: 10
Solved: Sort Problem
Views: 1,075
Posted By amigura
SELECT * FROM table_name ORDER BY column_name, BINARY column_name ASC
Forum: PHP May 17th, 2008
Replies: 10
Solved: Sort Problem
Views: 1,075
Posted By amigura
try

SELECT * FROM table_name ORDER BY BINARY column_name ASC
Forum: PHP May 17th, 2008
Replies: 1
Views: 895
Posted By amigura
do a search in google on 'preload page' or post in javascript
Forum: PHP May 17th, 2008
Replies: 10
Solved: Sort Problem
Views: 1,075
Posted By amigura
http://bugs.mysql.com/bug.php?id=30675

http://bugs.mysql.com/bug.php?id=29977
Forum: PHP May 17th, 2008
Replies: 10
Solved: Sort Problem
Views: 1,075
Posted By amigura
just a guess check for extra spaces
Forum: PHP May 17th, 2008
Replies: 10
Views: 1,002
Posted By amigura
your output result has to be in side the query loop. if outside only one result is done.

<div id="news">

<div class="asnazzy">
<b class="atop"><b class="ab1"></b><b class="ab2 color_c"></b><b...
Forum: PHP May 17th, 2008
Replies: 11
Views: 24,145
Posted By amigura
yeah the isset would of helped :$
nice rewrite Rockcreektech apart from $_SESSION['start'] needs to be $_SESSION['timeout'];
Forum: PHP May 17th, 2008
Replies: 3
Views: 607
Posted By amigura
the $info['$big_image'] is not from db it is a set varible so it should be echo $big_image and same with $info['ref'] - echo $ref;
the image and ref should go below db query to get info also


...
Forum: PHP May 17th, 2008
Replies: 11
Views: 24,145
Posted By amigura
session_start();

// 10 mins in seconds
$inactive = 600;

$session_life = time() - $_session['timeout'];

if($session_life > $inactive)
{ session_destroy(); header("Location:...
Forum: PHP May 17th, 2008
Replies: 3
Views: 607
Posted By amigura
merge thumb and url into image - colunm just contains name e.g 1.jpg
your ref seems to be primary key and date. if true, get rid of ref.

// images...
Forum: PHP May 16th, 2008
Replies: 1
Views: 774
Posted By amigura
what is the error?
what was u trying to do?
Forum: PHP May 16th, 2008
Replies: 2
Views: 417
Posted By amigura
<?php

$age = 21;

if ($age >61)

{

$age_score = '0.5';
Forum: PHP May 16th, 2008
Replies: 19
Views: 3,322
Posted By amigura
the original code works ok apart from missing ;
u should use code tags code here [/CODE ]

[CODE]<!-- Navigation item -->
<?php

if (strrpos($_SERVER['SCRIPT_FILENAME'], "/bobo/index.php"))...
Forum: PHP May 15th, 2008
Replies: 19
Views: 3,322
Posted By amigura
it is because u have $style_home on all links therefore when $style_home is active for one link it will do it for all links. do $style_home1 $style_home2 or something




i tried no space thing...
Forum: PHP May 15th, 2008
Replies: 4
Views: 563
Posted By amigura
to see wat you get.

echo $path."/".$image_path;
Forum: PHP May 15th, 2008
Replies: 19
Views: 3,322
Posted By amigura
ok did u change index.php to other file names. u didn't say which one was working so i choose this. it will work on all files in bobo folder.

but i will also say that any folder combination will...
Forum: PHP May 11th, 2008
Replies: 3
Views: 997
Posted By amigura
look for post_max_size

<?php echo phpinfo(); ?>
Forum: PHP May 11th, 2008
Replies: 19
Views: 3,322
Posted By amigura
hmm for both $_SERVER['SCRIPT_NAME'] and $_SERVER['PHP_SELF'] not to work you might have a problem with your php.


$bobo = strrpos($_SERVER['SCRIPT_FILENAME'], "/bobo/index.php");
if ($bobo)
{...
Forum: PHP May 11th, 2008
Replies: 9
Views: 1,855
Posted By amigura
i don't know if it will work but you need to pass file vars to form 2 then on to form 3
you should have upload on form 2 or 3 for safety reason.

Page 2:

<form action="insert.php"...
Forum: PHP May 11th, 2008
Replies: 3
Views: 538
Posted By amigura
no its free just as long to have a email account with your domain and send mail/smtp enable which it should be.
Forum: PHP May 11th, 2008
Replies: 3
Views: 538
Posted By amigura
you might open yourself to spam.

http://www.w3schools.com/PHP/php_secure_mail.asp

http://uk3.php.net/manual/en/function.mail.php

http://uk3.php.net/manual/en/book.imap.php
Forum: PHP May 11th, 2008
Replies: 3
Views: 39,181
Posted By amigura
you could have different paths like

$nav='/website/home/templates/navigation/';
$temp_base='/website/home/templates/';
$base_url='/website/home/';

// ...
Forum: PHP May 11th, 2008
Replies: 19
Views: 3,322
Posted By amigura
comparing $_SERVER['SCRIPT_NAME'] == 'index.php' will not work for you as /bobo/index.php' and '/aktuelle seite/index.php' will give same style.

try below to see wat you get


echo...
Forum: PHP May 11th, 2008
Replies: 11
Views: 27,005
Posted By amigura
not sure it that is possible but you might be abled to run a vb script

http://uk3.php.net/manual/en/refs.utilspec.windows.php

http://uk3.php.net/manual/en/function.exec.php
Forum: PHP May 11th, 2008
Replies: 9
Views: 1,855
Posted By amigura
u could do it all in one page in stead of 3 pages. some info about restricting uploads
http://www.w3schools.com/php/php_file_upload.asp

use this on db inputs - mysql_real_escape_string...
Forum: PHP May 11th, 2008
Replies: 11
Views: 27,005
Posted By amigura
u will need a sms provider like clicktell. some info

http://www.clickatell.com/developers/php.php
Forum: PHP May 11th, 2008
Replies: 22
Views: 8,763
Posted By amigura
if you are viewing the message in a email and you have just changed the image then it will always point to the old image because it has been download and stored in inbox.
the code below will only...
Forum: PHP May 11th, 2008
Replies: 3
Views: 997
Posted By amigura
well depends on your max post memory. i think default is 8mb, which is for more than enought for your data needs.
Forum: PHP May 6th, 2008
Replies: 3
Views: 788
Posted By amigura
guessing this is wat you mean. fill in missing names.

echo "<table cellpadding=10 border=0>
<tr><td>first name</td><td>last name</td><td>a</td><td>b</td><td>c</td><td></td><td>d</td>";
...
Forum: PHP May 6th, 2008
Replies: 22
Views: 8,763
Posted By amigura
file_exists will not work on http://

$path_image_folder='mercury/image/thumbs';

foreach($exts as $ext) {
if (file_exists($path_image_folder.'/'.$image_name.'.'.$ext)) {
$image =...
Forum: PHP May 2nd, 2008
Replies: 1
Views: 733
Posted By amigura
http://uk3.php.net/manual/en/oci8.examples.php
Forum: PHP May 2nd, 2008
Replies: 11
Views: 1,398
Posted By amigura
clear your cache first.


// check to see if cookie is set
echo $_COOKIE['UserId'];

// check to see if any row have been updated. should be more than 0 if update
echo mysql_affected_rows();
Forum: PHP May 2nd, 2008
Replies: 4
Views: 5,081
Posted By amigura
The current code does db insert on a 1 - 5 selection.

so i understand bettter.
so the max is 5. is there a minimum?
or are you saying the user has to select 5 minimum and 5 max.

if so...
Forum: PHP May 2nd, 2008
Replies: 4
Views: 5,081
Posted By amigura
if you have 5 colunms in db setup then forget for loop just input results as $mylist[0], $mylist[1], etc
if you have one field use implode(',',$mylist)

<?php

$mylist=$_POST['mylist'];
...
Forum: PHP May 2nd, 2008
Replies: 3
Views: 549
Posted By amigura
well i have not reviewed all your code but wat stood out was first bit in php.

when you set $firstField = $_POST['first'];
this should not be
First Name: $first
it should be
First Name:...
Forum: PHP May 1st, 2008
Replies: 11
Views: 1,398
Posted By amigura
it will work if you set a cookie. you can not set a session value then try and retrieve it as a cookie and vice virsa.

you have this at top session_start(); so i am guessing you are using session....
Showing results 1 to 40 of 71

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC