Search Results

Showing results 1 to 40 of 64
Search took 0.01 seconds.
Search: Posts Made By: amigura ; Forum: PHP and child forums
Forum: PHP May 17th, 2008
Replies: 10
Views: 1,012
Posted By amigura
Forum: PHP May 17th, 2008
Replies: 10
Views: 1,012
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,102
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,102
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,102
Posted By amigura
try

SELECT * FROM table_name ORDER BY BINARY column_name ASC
Forum: PHP May 17th, 2008
Replies: 1
Views: 907
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,102
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,102
Posted By amigura
just a guess check for extra spaces
Forum: PHP May 17th, 2008
Replies: 10
Views: 1,012
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: 26,104
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: 618
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: 26,104
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: 618
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: 783
Posted By amigura
what is the error?
what was u trying to do?
Forum: PHP May 16th, 2008
Replies: 2
Views: 431
Posted By amigura
<?php

$age = 21;

if ($age >61)

{

$age_score = '0.5';
Forum: PHP May 16th, 2008
Replies: 19
Views: 3,445
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,445
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: 578
Posted By amigura
to see wat you get.

echo $path."/".$image_path;
Forum: PHP May 15th, 2008
Replies: 19
Views: 3,445
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: 1,019
Posted By amigura
look for post_max_size

<?php echo phpinfo(); ?>
Forum: PHP May 11th, 2008
Replies: 19
Views: 3,445
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,923
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: 548
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: 548
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,600
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,445
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,907
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,923
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,907
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: 9,095
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: 1,019
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: 802
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: 9,095
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: 767
Posted By amigura
http://uk3.php.net/manual/en/oci8.examples.php
Forum: PHP May 2nd, 2008
Replies: 11
Views: 1,417
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,324
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,324
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: 561
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,417
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....
Forum: PHP May 1st, 2008
Replies: 11
Views: 1,417
Posted By amigura
are u using cookies or session?

this is probably why it is not updating


$userId = $_COOKIE['UserId'];
to
// SESSION
$userId = $_SESSION['UserId'];
Showing results 1 to 40 of 64

 


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

©2003 - 2009 DaniWeb® LLC