Search Results

Showing results 1 to 25 of 25
Search took 0.01 seconds.
Search: Posts Made By: almostbob ; Forum: PHP and child forums
Forum: PHP 12 Days Ago
Replies: 3
Solved: Parse error
Views: 223
Posted By almostbob
In case you are really newyou get error line 46,
the file has 45 lines in it,
and the visible error was on line 28 line count as the file executes considers includes as part of the file
there...
Forum: PHP 25 Days Ago
Replies: 5
Views: 272
Posted By almostbob
Got to give Kudos for the self confidence,
&
you found a great place to ask questions if confidence isnt enough
Forum: PHP Nov 3rd, 2009
Replies: 1
Views: 205
Posted By almostbob
http://www.google.com/search?hl=en&safe=off&q=php+youtube+clone&btnG=Search&meta=&aq=f&oq= (http://www.google.ca/search?hl=en&safe=off&q=php+youtube+clone&btnG=Search&meta=&aq=f&oq=)
Forum: PHP Oct 14th, 2009
Replies: 4
Solved: Query Help
Views: 206
Posted By almostbob
<?php
/* connect select db etc */
$flat=("SELECT C.Latitude, C.Longitude FROM Cities C JOIN Countries Co ON Co.CountryId = C.CountryId JOIN Regions R ON R.RegionId = C.RegionId WHERE C.City =...
Forum: PHP Oct 10th, 2009
Replies: 9
Views: 415
Posted By almostbob
A caveat applies
There is not enough information to provide accurate answers, to try to elicit information is the portal remotely hosted
if remote they may have a support desk Do you control the...
Forum: PHP Oct 8th, 2009
Replies: 4
Views: 580
Posted By almostbob
Where the file is accessed by <a href='download.php?file=thisfile.pdf'>download Thisfile.pdf</a>

mysql<?php /*download.php*/
If (!$_POST['file']='') {
/* validate $_POST any amount of form...
Forum: PHP Sep 20th, 2009
Replies: 12
Views: 682
Posted By almostbob
Dont format the date time in the database
text formatted dates are for humans to read, sql is not human does not need any of that and it makes the processing slower
sql Date, php date, unix...
Forum: PHP Sep 14th, 2009
Replies: 21
Views: 595
Posted By almostbob
you are trying to run php from the local file system /C:/Documents and Settings/rEd_xiii21/Desktop/programming/ERDI Website Final/Duplicate of Edited Site/
that wont work, even if it is the same...
Forum: PHP Aug 28th, 2009
Replies: 8
Views: 325
Posted By almostbob
<a href='download.php?$filename=whilemyguitar.mp3'>the beatles-while my guitar gently weeps</a>
<?php /* download.php */
if(!session_id) { $hiddenfile="../absolutepath/polkamusic.mp3"; } // evil...
Forum: PHP Aug 10th, 2009
Replies: 7
Views: 932
Posted By almostbob
http://dev.mysql.com/doc/refman/5.1/en/replace.html

the primary key ID is not referenced by the replace statement, the replace wont work as you intend, it becomes an insert statemen
Forum: PHP Jul 30th, 2009
Replies: 8
Views: 638
Posted By almostbob
<? $dbserver = "localhost";
$dbuser = "root";
$dbpass = "";
$dbname = "em";
$dbconn = @mysql_connect($dbserver,$dbuser,$dbpass) or exit("SERVER Unavailable");
@mysql_select_db($dbname,$dbconn)...
Forum: PHP Jun 26th, 2009
Replies: 5
Views: 583
Posted By almostbob
is the file being parsed as php
that is, is it on a server, either localhost with php installed (wamp, a phpIDE, or similar)
or on your remote server with php installed
and named filename.php so...
Forum: PHP Jun 18th, 2009
Replies: 4
Views: 461
Posted By almostbob
winzip
freezip
easyzip

or any other of the zip/ra/gzip/tar creation utilities
to compress for distribution is done locally on your development machine not on your server, although the files are...
Forum: PHP May 11th, 2009
Replies: 17
Views: 1,262
Posted By almostbob
button { background-color: #e4e0d8; }
button:hover { background-color: #66cdaa; }
button:active { background-color: #66cdaa; }
button:focus { background-color: #66cdaa; }
form { PADDING:...
Forum: PHP May 8th, 2009
Replies: 4
Views: 439
Posted By almostbob
or it could equally be m-d-y
thats the other reason why dates and times should be stored as a timestamp
timstamp is smaller faster and un-ambiguous
Forum: PHP Apr 29th, 2009
Replies: 5
Views: 432
Posted By almostbob
You install MYSQL on apache
equivalent I think to installing acess on windows
you can run MYSQL on other web servers, on windows, on OS10, but there has to be an underlying OS
Forum: PHP Apr 28th, 2009
Replies: 3
Views: 284
Posted By almostbob
From a prior thread
Check for new version (http://www.daniweb.com/forums/post785006-2.html)
(I thought once, now I just paste)
Forum: PHP Mar 8th, 2009
Replies: 2
Views: 280
Posted By almostbob
<?php if($_POST){
echo 'submitted were<br>';
foreach ($_POST as $key => $value) {
echo $key." value ".$value.'<br>';} }
?>
<form action='<?php echo $_SERVER['php_self']; ?>' method='post'>...
Forum: PHP Feb 21st, 2009
Replies: 7
Views: 852
Posted By almostbob
First two, . is the default for current folder, as .. is parent
third one

take the current script name as known to the server and break it at the last / character
substring of the server array,...
Forum: PHP Feb 21st, 2009
Replies: 3
Views: 506
Posted By almostbob
each included file can be only that part of the html that they need to be
full xhtml for all will give validation errors
<?php
include('doctype.inc.php');
echo '<title>'.$pagetitle."</title>";...
Forum: PHP Feb 17th, 2009
Replies: 7
Views: 1,763
Posted By almostbob
does the host have a helpscreen with the server names
ours is a cheap host and to avoid phone calls there is a page outside the control panel
that lists

mail.[yoursitenam].com...
Forum: PHP Feb 17th, 2009
Replies: 7
Views: 1,778
Posted By almostbob
Yes
that is what happens, you can test it if you want
make a file success.html with a message 'success' in it
and a test file
<form action='success.html'>
<input type='submit' onclick="return...
Forum: PHP Feb 16th, 2009
Replies: 8
Views: 1,263
Posted By almostbob
to edit the data entry scripts about 2 minutes
to run a table update on live users and inactive users for 3000 members ~1.5 seconds
to do strtotime manipulation on every data entry for 3000 users (...
Forum: PHP Feb 2nd, 2009
Replies: 1
Views: 262
Posted By almostbob
Got directed to these cheat sheets (http://www.addedbytes.com/cheat-sheets/php-cheat-sheet/) php css scripting regular expressions 'et al'
had to pass the link on
Forum: PHP Jan 27th, 2009
Replies: 18
Views: 1,291
Posted By almostbob
have you determined that mod_rewrite is enabled in your server
500 Internal server error often means the module is not compiled in
Showing results 1 to 25 of 25

 


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

©2003 - 2009 DaniWeb® LLC