Search Results

Showing results 1 to 40 of 62
Search took 0.02 seconds.
Search: Posts Made By: Fungus1487 ; Forum: PHP and child forums
Forum: PHP Jun 1st, 2009
Replies: 15
Views: 854
Posted By Fungus1487
it is very hard for a developer on any platform to break through on any freelance website, most projects get underbid and legit projects usually require the developer to have several samples to show...
Forum: PHP Apr 20th, 2009
Replies: 13
Solved: ajax problem
Views: 797
Posted By Fungus1487
it does not require a full URL but give it a try anyway.

Does the page POST BACK?
This might happen cuz you have not specified '#' in the href property of the anchor tag
Forum: PHP Apr 19th, 2009
Replies: 13
Solved: ajax problem
Views: 797
Posted By Fungus1487
so does it still do this with my example ?
Forum: PHP Apr 19th, 2009
Replies: 13
Solved: ajax problem
Views: 797
Posted By Fungus1487
First of all if the document is (X)Html then your link tag needs to be closed.

should be
<link rel="stylesheet" type="text/css" href="stylesheet/style.css" />

Secondly the script tag REQUIRES...
Forum: PHP Apr 18th, 2009
Replies: 13
Solved: ajax problem
Views: 797
Posted By Fungus1487
you have alerted the 'obj_t.responseText' value and it definately is returning text ? Also do you have an element in the page with ID 'tdetail'. If so can you post your pages HTML as there may be a...
Forum: PHP Apr 18th, 2009
Replies: 13
Solved: ajax problem
Views: 797
Posted By Fungus1487
This should be in the JavaScript forum but from looking at your code quickly it seems ok but you need to make sure the browser your using supports creating your XMLHttpRequest object like you do. The...
Forum: PHP Apr 4th, 2009
Replies: 15
Views: 644
Posted By Fungus1487
you wouldnt want to put a value through all them methods in fact doing so would counteract some of the methods used e.g.
$value = "abc '123'";
$value = addslashes($value);
$value =...
Forum: PHP Mar 22nd, 2009
Replies: 3
Views: 517
Posted By Fungus1487
or use the built in method

session_destroy();
Forum: PHP Dec 15th, 2008
Replies: 5
Views: 620
Posted By Fungus1487
yes you would be able to locate the page but then its entirely up to your php to determine whether the incoming request should be allowed.

You could change the headers to "404" if you want a page...
Forum: PHP Dec 13th, 2008
Replies: 5
Views: 620
Posted By Fungus1487
depends how far you want to take this.

For example you can easily append a unique ID for all sites you wish to link to this page e.g.

http://www.mysite/yourpage.com?token=123

you would then...
Forum: PHP Jun 28th, 2008
Replies: 2
Views: 616
Posted By Fungus1487
It will be todo with your max upload limit on the server you are using aswell. Most will not let u alter this unless u own the server.
Forum: PHP May 27th, 2008
Replies: 7
Views: 1,103
Posted By Fungus1487
great glad this worked for you. Feel free to give me some rep :D
Forum: PHP May 25th, 2008
Replies: 9
Views: 780
Posted By Fungus1487
Forum: PHP May 24th, 2008
Replies: 7
Views: 1,103
Posted By Fungus1487
if u get stuck just post up some of ur code where you are creating your SQL statement and ill have a look for you. hope it goes well.
Forum: PHP May 23rd, 2008
Replies: 7
Views: 1,103
Posted By Fungus1487
this is where you should use a normalised database with seperate tables for category, city and type etc.

but to get round redesigning ur DB. when u create ur statement check to see if the...
Forum: PHP May 23rd, 2008
Replies: 9
Views: 780
Posted By Fungus1487
echo the $query variable before it is fired to see exactly what the query is at runtime.
Forum: PHP May 13th, 2008
Replies: 3
Views: 5,410
Posted By Fungus1487
your welcome feel free to give me some rep :D and mark the post as solved
Forum: PHP May 13th, 2008
Replies: 3
Views: 5,410
Posted By Fungus1487
<p class="MsoNormal">
<span style="font-size: 10.0pt; font-family: Verdana">
Florida PROMiSE partners and staff can use the following site to share and exchange information regarding to the...
Forum: PHP May 8th, 2008
Replies: 34
Views: 4,951
Posted By Fungus1487
then you would search using the following in that circumstance.

SELECT * FROM S WHERE s1 LIKE '%what you want to search for%'

The % sign either side of the search text indicates two wildcards...
Forum: PHP May 8th, 2008
Replies: 34
Views: 4,951
Posted By Fungus1487
SELECT * FROM tablename WHERE somefield LIKE '%searchquery%'

other than taking the time to write an iterative script you will need to write individual SQL statements for each table.
Forum: PHP May 6th, 2008
Replies: 2
Views: 2,931
Posted By Fungus1487
the way to declare vars with dynamic names is as follows.


$var1 = "hel";
$var2 = "lo";
$hello = "yo there";

echo ${$var1.$var2};

output = "yo there";
Forum: PHP Apr 22nd, 2008
Replies: 8
Solved: textbox
Views: 777
Posted By Fungus1487
thats correct you need to get the whole querystring aswell if you want to retain the querystring variable. E.G.

action="<? echo $_SERVER["REQUEST_URI"]; ?>"
Forum: PHP Apr 21st, 2008
Replies: 8
Solved: textbox
Views: 777
Posted By Fungus1487
<?
if(isset($_POST["yourname"])) {
// Process database save
}
?>

<html>
<body>
<form action="<? echo $_SERVER['php_self']; ?>" method="post">
<input type="text"...
Forum: PHP Apr 21st, 2008
Replies: 8
Solved: textbox
Views: 777
Posted By Fungus1487
??? sorry i dont quite understand what your asking ??
Forum: PHP Apr 21st, 2008
Replies: 8
Solved: textbox
Views: 777
Posted By Fungus1487
why do you need to use ajax ?
you can do a simple postback which is alot easier.

if ajax is amust you must have some knowledge of javascript aswell.
Forum: PHP Jan 24th, 2008
Replies: 12
Views: 5,598
Posted By Fungus1487
personally i would float a DIV over the center of the page with two buttons in. Faking a popup as i rekon this would achieve sameeffect without popups (probably cuz i hate popup windows :D). but hey...
Forum: PHP Jan 24th, 2008
Replies: 12
Views: 5,598
Posted By Fungus1487
what if popups are disabled ?
i suppose you could check if the window is opened after calling the popup script but i would stick with the javascript confirm option as it is likely to cause you less...
Forum: PHP Jan 15th, 2008
Replies: 5
Views: 3,061
Posted By Fungus1487
you dont need str_replace inside str_replace etc etc.

use two arrays


$your_txt = "Hello 'WORLD'";
$txt = array("'", "\"");
$txt_replace = array("\'", "\\\"");
$x=str_replace($txt,...
Forum: PHP Jan 14th, 2008
Replies: 1
Views: 604
Posted By Fungus1487
use ajax to capture a pages source then parse the page source using php or asp.net (this will work only if the page your capturing has valid markup or if you add lots of error handling)
Forum: PHP Jan 9th, 2008
Replies: 1
Views: 1,602
Posted By Fungus1487
you need to post this in the javascript forum (http://www.daniweb.com/forums/forum117.html)
Forum: PHP Jan 9th, 2008
Replies: 3
Views: 762
Posted By Fungus1487
i dont beleive you can upload a directory at all in php.

they could upload a zip file then use php to break apart the file and then create the directorys/file structure in this.
Forum: PHP Jan 9th, 2008
Replies: 2
Views: 2,432
Posted By Fungus1487
maybe it would be wiser to ask in the javascript forum (http://www.daniweb.com/forums/forum117.html)
Forum: PHP Dec 30th, 2007
Replies: 12
Views: 1,351
Posted By Fungus1487
the only way i use is to set a session variable of the current time then everytime a postback occurs check this time is greater than (now - 20 mins) and if it is let them continue else destroy the...
Forum: PHP Dec 13th, 2007
Replies: 2
Views: 4,342
Posted By Fungus1487
yes javascript or perhaps flash.

you could not achieve this with php
Forum: PHP Dec 11th, 2007
Replies: 1
Views: 6,112
Posted By Fungus1487
you can embed media player in your page.
or build a flash mp3 player.
there are probably flash players already out there which can be dropped right in if you arent very clued up on flash. Most use...
Forum: PHP Nov 23rd, 2007
Replies: 3
Views: 726
Posted By Fungus1487
if you get chance to take a look at the code you should pick it up quite quickly as it is very c oriented and syntaxed.
Forum: PHP Nov 23rd, 2007
Replies: 11
Views: 1,531
Posted By Fungus1487
i realise there is a semi colon inside the sql statement and after which is correct syntax for sql string then he appends the php line with a semi colon ?

does this affect the way php reads it?...
Forum: PHP Nov 22nd, 2007
Replies: 11
Views: 1,531
Posted By Fungus1487
if i may ask why is using a semi colon at the end of an SQL statement a problem ? this is valid sql markup
Forum: PHP Nov 21st, 2007
Replies: 6
Views: 935
Posted By Fungus1487
frames are a tool for web development. Depending upon your profficiency and ability using frames is a far easier learning curve than AJAX which requires at least a moderate knowledge of javascript....
Forum: PHP Nov 21st, 2007
Replies: 6
Views: 935
Posted By Fungus1487
you could use html frameset this would keep any information you have active without clearing it as you would not need to refresh the page with the tables in.

google html frameset for more info or...
Showing results 1 to 40 of 62

 


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

©2003 - 2009 DaniWeb® LLC