Forum: JavaScript / DHTML / AJAX 32 Days Ago |
| Replies: 1 Views: 686 |
Forum: JavaScript / DHTML / AJAX 33 Days Ago |
| Replies: 1 Views: 686 |
Forum: C Mar 15th, 2008 |
| Replies: 6 Views: 1,370 |
Forum: C Mar 15th, 2008 |
| Replies: 6 Views: 1,370 |
Forum: PHP Nov 29th, 2007 |
| Replies: 1 Views: 288 |
Forum: PHP Oct 2nd, 2007 |
| Replies: 3 Views: 503 Re: phpbb mod No , I just needed a very simple post quick reply implementation on the viewtopic.php in phpbb 2.0
I found a mod that does exactly what I need .Stupid me , I googled for "short message reply" mod ,... |
Forum: PHP Oct 1st, 2007 |
| Replies: 3 Views: 503 phpbb mod How can I have a post quick reply textarea , just like the one on daniweb , in a phpbb 2.0 ?
Do you know/have a mod that does that ? |
Forum: PHP Sep 18th, 2007 |
| Replies: 7 Views: 1,297 Re: Pull info from gas price websites? This code gets the today's gas price
It's easy to get it on this site because the price is placed between a span with the id "GBPS_lblUSToday"
$arr = file("http://www.gasbuddy.com/");
$gasprice =... |
Forum: PHP Sep 16th, 2007 |
| Replies: 13 Views: 1,036 Re: HTML In Mail in the $header,make sure you have a space after From:
$headers="From: Mycompany asdfa@asfa.com"; |
Forum: PHP Sep 16th, 2007 |
| Replies: 3 Views: 651 Re: Find & Insert Part of urlQuery value? If the user input is ,for example "house Seattle job" and you wanna get the Seattle word, you can do this with explode http://www.php.net/manual/en/function.explode.php
php if($_GET['KEY'] == "")
{
... |
Forum: PHP Sep 8th, 2007 |
| Replies: 1 Views: 2,066 Re: Comparing two arrays problem U can use the array_search() function
http://www.php.net/array_search
Make sure u use the "===" for comparising.
It should look something like this :
if ($NewVersionFlag==0)
{
$i=0;
... |
Forum: PHP Aug 26th, 2007 |
| Replies: 4 Views: 1,725 Re: How to insert image in MySQL....... Dude , have you read at least one php book ????
Inserting images in MySql it's possible by using a BLOB column , but is very very inefficient
It takes a lot of space , thus slowing down the... |
Forum: PHP Aug 22nd, 2007 |
| Replies: 6 Views: 837 Re: Mail to a list of people Some advice :
1.Always test if the file exists , first :
if(!file_exists("to.txt"))
die("File could not be found");
2.
$names[$x] = fgets($sub);
$x++;
I assume you are familiar with... |
Forum: PHP Aug 22nd, 2007 |
| Replies: 8 Views: 934 Re: Login Page problems LOL
It's because on your laptop you have a database with a table admin(or whatever you name it ) which contains the info to be checked when a user tries to log in .
When you take your script on... |
Forum: PHP Aug 22nd, 2007 |
| Replies: 29 Views: 3,029 Re: what's wrong in this code? Are you sure you don't have a closing php tag( ?> ) somewhere ?
Type phpinfo(); at the line where it crashes ,to see if the interpreter works at that point( although I'm pretty sure it won't) |
Forum: PHP Aug 7th, 2007 |
| Replies: 0 Views: 1,739 |
Forum: PHP Aug 2nd, 2007 |
| Replies: 2 Views: 514 |
Forum: PHP Jul 31st, 2007 |
| Replies: 7 Views: 793 |
Forum: PHP Jul 31st, 2007 |
| Replies: 5 Views: 1,962 Re: how to create a link in php? This is a very famous error in php . If you echo something , before the header function you'll get an error because the "channel" was occupied by echo.You need to put the header before any echo's or... |
Forum: PHP Jul 9th, 2007 |
| Replies: 6 Views: 752 Re: URL with query is not working... It's better if you leave it off . Imagine how easy is for someone to hack your code .This is the reason why the developers set the register_globals off by default from php 4.2 . Instead u can use... |
Forum: C++ Jun 6th, 2007 |
| Replies: 9 Views: 1,121 Re: Need a good C++ book My teacher wrote that sample code , and yes,is bad formatted,but he's not so bad ; at class , he explaines very well and he's one of the few teachers who really knows about modern programming
... |
Forum: C++ Jun 5th, 2007 |
| Replies: 9 Views: 1,121 Re: Need a good C++ book I need a book with tests, like : "Find the error in the code bellow",something like that . The c++ exam,i'll have to take, consists of trick questions , this is an example :
What's the error?... |
Forum: C++ Jun 2nd, 2007 |
| Replies: 9 Views: 1,121 Re: C++ Books I'm looking for a C++ book with exercices(solved),practice or something like "tips and trips of c++ language" cause I need to prepare for the exam.
If someone know's a kind of this book , pls... |
Forum: PHP May 9th, 2007 |
| Replies: 5 Views: 1,017 Re: Very strange I've used wamp 1.5.0 , 1.5.0.a , 1.7.1 , 1.4.2
All of them have the short_open_tag = Off by default , and I guess that all future versions will have this as well
It can be really frustrating.
They... |
Forum: PHP May 9th, 2007 |
| Replies: 5 Views: 1,017 Re: Very strange Hey thanks :) It worked . You we're right ,it was that short_hand thing.
You're the best |
Forum: PHP May 8th, 2007 |
| Replies: 5 Views: 1,017 Very strange The following cod,when I press the SUBMIT button , I get "Forbidden, You don't have permission to access /< on this server."
<html>
<head>
<title> The Internet Joke Database... |
Forum: C++ Apr 13th, 2007 |
| Replies: 3 Views: 1,829 |
Forum: C++ Apr 13th, 2007 |
| Replies: 3 Views: 1,829 operator - (minus) overloading problem I have a class , named Set,and I want to overload the operator - so I can get the difference between 2 Set object.
i.e. A={1,2,3,4} , B={ 3,4,5,6} , A-B={1,2}
In header file I declared the operator... |
Forum: Networking Hardware Configuration Mar 23rd, 2007 |
| Replies: 4 Views: 1,041 |
Forum: Networking Hardware Configuration Mar 19th, 2007 |
| Replies: 4 Views: 1,041 2 desktops home network I have 2 desktops ,with 3 network cards and Win XP.I want to connect them so i can share my files and internet connection,only that I'm getting "A network cable is unplugged".
I did everything :... |
Forum: C Jan 21st, 2007 |
| Replies: 28 Views: 4,250 Re: gets() problem in C U forgot to put the ampersand at age.It should look like this scanf("%d",&age)
btw,u might wanna declare variable age first. |
Forum: C Jan 21st, 2007 |
| Replies: 8 Views: 3,404 |
Forum: C Jan 21st, 2007 |
| Replies: 8 Views: 3,404 |
Forum: C Jan 21st, 2007 |
| Replies: 8 Views: 3,404 Re: Can a function return 2 values? Well for the second example , I get " error C2064: term does not evaluate to a function taking 1 arguments" at the start and end temp(0) :sad: |
Forum: C Jan 21st, 2007 |
| Replies: 8 Views: 3,404 Re: Can a function return 2 values? After you said , at the first method ,i came up with this:
#include <stdio.h>
#include <time.h>
int foo( clock_t* time)
{
int x=0;
while(x<1000000000) |
Forum: C Jan 21st, 2007 |
| Replies: 8 Views: 3,404 Can a function return 2 values? I have one or more functions separate from main() , that besides the return value , must also return the time it tooked to process.
How can I do that ? |
Forum: C Jan 9th, 2007 |
| Replies: 14 Views: 1,770 Re: Memory reallocation Well,the hole project is strongly recommended for the use of static allocation and the insert ,delete must be made as a circular queue .
So i got a circular queue :... |
Forum: C Jan 3rd, 2007 |
| Replies: 14 Views: 1,770 Re: Memory reallocation I've chose to use an array just so i can make it easier.
Imagine this : You have 3 different arrays,separate from each other.
Let's say we must get a product name from the user(product name will be... |
Forum: C Jan 3rd, 2007 |
| Replies: 14 Views: 1,770 Re: Memory reallocation Almost.The free space when one part gets full,is associated to the full one,thus increasing in size .In other words the data inserted into the free space when one part is full , becomes part of the... |
Forum: C Jan 3rd, 2007 |
| Replies: 14 Views: 1,770 |