Showing results 1 to 40 of 47
Search took 0.02 seconds; generated 1 minute(s) ago.
Posts Made By: ultra vires
Forum: C# Jun 19th, 2008
Replies: 0
Views: 765
Posted By ultra vires
curl for C#

Is there a way to use curl with c# ??

I tried libcurl .Net but its really messy :(
Forum: C# Jun 19th, 2008
Replies: 1
Views: 423
Posted By ultra vires
Question : HttpWebRequest | form name

I would like to know that if there is a way to include the name of the form in HttpWebRequest class so that when i fire my request to the web page it also passes the form name.
Forum: PHP May 13th, 2008
Replies: 3
Views: 570
Posted By ultra vires
Re: adding random number

i guess this is what you are looking for :)
http://www.webmasterworld.com/php/3146706.htm
Forum: PHP May 3rd, 2008
Replies: 2
Views: 333
Posted By ultra vires
Re: How to build a executable aplication that use PHP,MySQL and Apache

You can use PHP-GTK for building stand alone application.

Link: http://gtk.php.net/

What is PHP-GTK?

PHP-GTK is an extension for the PHP programming language that implements language bindings for...
Forum: PHP May 1st, 2008
Replies: 1
Views: 184
Posted By ultra vires
Re: What does this do?

This function will turn output buffering on. While output buffering is active no output is sent from the script (other than headers), instead the output is stored in an internal buffer.

Source : PHP...
Forum: PHP Apr 23rd, 2008
Replies: 3
Views: 404
Posted By ultra vires
Re: Problem on runing Hello world with my php configuration HELP?

Instead of directly running from the dreamweaver, which opens the php file instead of parsing it through the apache server try opening it from the location of the server. What i mean is :

make a...
Forum: PHP Apr 20th, 2008
Replies: 4
Views: 1,121
Posted By ultra vires
Re: how to select the last updated record in a table

Hmm the query seems to work fine here...
Forum: PHP Apr 19th, 2008
Replies: 3
Views: 444
Posted By ultra vires
Re: mysql_fetch_array warning urgent plz

Are you using PHP version > 4.0.6 ??

Version Description
4.0.6 This function is deprecated, do not use this function. Use mysql_select_db() and mysql_query() instead.

Example...
Forum: MySQL Apr 19th, 2008
Replies: 1
Views: 766
Posted By ultra vires
Re: uploading large txt file into phpmyadmin?

Instead of using PHPmyAdmin i would suggest you to use PHP to open the file and read the test file and write a sql query that would go around in a loop until the end of file.
This is the fastest way...
Forum: PHP Apr 19th, 2008
Replies: 4
Views: 1,121
Posted By ultra vires
Re: how to select the last updated record in a table

If you want to view the last updated record and you have a column which stores the last update. Then use this :
(i am assuming that you have stored time in unix timestamp format, i.e you have used...
Forum: PHP Apr 19th, 2008
Replies: 3
Views: 444
Posted By ultra vires
Re: mysql_fetch_array warning urgent plz

you have to define these variables before you can use them.

DB_SERVER , DB_SERVER_USERNAME , DB_SERVER_PASSWORD and DB_DATABASE
Forum: PHP Apr 18th, 2008
Replies: 2
Views: 446
Posted By ultra vires
Re: voting sript using PHP and mySQL

If you can elaborate more on what is the problem rather than saying that i need help with the system, then maybe we could help you out.

First of all tell, what all have you done.
Forum: PHP Apr 18th, 2008
Replies: 2
Views: 963
Posted By ultra vires
Re: have two onsubmit buttons??

Problem : Having 2 submit buttons submit to 2 different pages

Solution :


<form name="fruits" action="" method="post">



<input type="button" name="Apple" value="Give Me apples "...
Forum: PHP Apr 15th, 2008
Replies: 1
Views: 273
Posted By ultra vires
Re: help me fix this code

error 2 and 3 are occurring because you haven't initiated a MySQL connection.

define your $conn_id

ex:

<?php
$db_name="rps";
$db_url="localhost";
$db_username="root";
Forum: PHP Apr 15th, 2008
Replies: 5
Views: 502
Posted By ultra vires
Re: convert php/mysql page to html

Have a look here, the author has described a number of ways for handling Pretty URLs
http://www.phpriot.com/articles/search-engine-urls
Forum: PHP Apr 15th, 2008
Replies: 3
Views: 298
Posted By ultra vires
Re: Pretty URLs

Have a look here, the author has described a number of ways for handling Pretty URLs
http://www.phpriot.com/articles/search-engine-urls
Forum: PHP Apr 15th, 2008
Replies: 2
Views: 1,811
Posted By ultra vires
Re: how do you strip tabs, extra spaces and new lines

//Newline and tab space to single space

$from_mysql = str_replace(array("\r\n", "\r", "\n", "\t"), ' ', $from_mysql);


// Multiple spaces to single space ( using regular expression)

...
Forum: PHP Apr 14th, 2008
Replies: 5
Views: 502
Posted By ultra vires
Re: convert php/mysql page to html

or you are interested in Friendly URL's, like forums have these days ?
Forum: PHP Apr 11th, 2008
Replies: 3
Views: 328
Posted By ultra vires
Re: help in file

Here is an idea of opening the file in PHP using COM
http://drewd.com/2007/01/25/reading-from-a-word-document-with-com-in-php

Btw, i used iFilter in c# to open doc files( made it as a command line...
Forum: PHP Apr 11th, 2008
Replies: 2
Views: 280
Posted By ultra vires
Re: PHP capability question

PHP does have frameworks like Cold Fusion.
Check out the Zend and others ( google is your friend ;) )
Forum: PHP Apr 10th, 2008
Replies: 17
Views: 622
Posted By ultra vires
Re: PHP form problem.

just before you use them ( its just a personal preference).

NOTE :
it is advisable to parse the variables as they can inject SQL statements.
( i wont explain the details here (as it is not in the...
Forum: PHP Apr 10th, 2008
Replies: 9
Views: 1,015
Posted By ultra vires
Re: How to pass data through hyperlink

I will explain you the logic what has to be done with an example and you can implement that in your script.


$results = mysql_query("SELECT * FROM f_category ORDER BY c_order DESC", $connection);
...
Forum: PHP Apr 10th, 2008
Replies: 17
Views: 622
Posted By ultra vires
Re: PHP form problem.

Yes, PHP doesnt automatically get the values from the user filled form you have to specify.

How to get values:

HTML :
<input type=text name=csp_n>

to get values in PHP you have to use :

$csp_name...
Forum: PHP Apr 10th, 2008
Replies: 17
Views: 622
Posted By ultra vires
Re: PHP form problem.

$CSP_Name,$Supervisor,$Rep_Number,$Department,$Email

Where have you set these variables in your script ??

coz i don't see any assignment, if you have not done that then please assign the values to...
Forum: PHP Apr 10th, 2008
Replies: 17
Views: 622
Posted By ultra vires
Re: PHP form problem.

ok now the next step :P


echo $sql;


and please paste what it shows. :)
Forum: PHP Apr 10th, 2008
Replies: 17
Views: 622
Posted By ultra vires
Re: PHP form problem.

Modify this
$result = mysql_query($sql) ;

as


$result = mysql_query($sql) or die("Couldn?t execute query." . mysql_error());
echo "Result variable shows: ".$result;
Forum: PHP Apr 10th, 2008
Replies: 17
Views: 622
Posted By ultra vires
Re: PHP form problem.

now() is not a function in php.

You can use time() to get the UNIX timestamp to get the current time of the system.

time() - will return an integer value you can convert it to a more user...
Forum: PHP Apr 10th, 2008
Replies: 3
Views: 328
Posted By ultra vires
Re: help in file

You cant read a DOC file in the manner that you have used as the content is not stored as in the case or normal text file.

Try opening the doc file with notepad and you will get what i mean.

You...
Forum: PHP Apr 10th, 2008
Replies: 17
Views: 622
Posted By ultra vires
Re: PHP form problem.

^^ You can enter data into the tables without specifying the column names if you enter in the default order of the columns :)
Forum: PHP Apr 10th, 2008
Replies: 4
Views: 1,121
Posted By ultra vires
Re: PHP and MySQL Multipage form

I would go with sessions too . They are a better and neat way of doing this.

To start a session

session_start();


To write variables into session
Forum: PHP Apr 10th, 2008
Replies: 17
Views: 622
Posted By ultra vires
Re: PHP form problem.

What does the function now() do exactly ??

can you post the function here ?
Forum: Java Aug 5th, 2007
Replies: 3
Views: 449
Posted By ultra vires
Re: Query : Object creation error

Decleared the objects with other variables.
and its wrkin fine :-)

Thnx for the help
Forum: Java Aug 5th, 2007
Replies: 3
Views: 449
Posted By ultra vires
Help Query : Object creation error

Hi guys,

i am new to java so i started of with basics, but now im stuck at a little problem. I will paste the code and error's below, hoping that some1 could sort em out


import java.lang.*;
import...
Forum: Oracle Mar 25th, 2007
Replies: 2
Views: 1,542
Posted By ultra vires
Forum: C# Mar 24th, 2007
Replies: 2
Views: 959
Posted By ultra vires
Re: ADO class

Yes ..
i even tried importin system.data.dll but it isnt helping
i still cant see ADO in the intelli sense list :(

EDIT :

k my bad... was rellying too much on intellisense
just came to knw ADO was...
Forum: C# Mar 24th, 2007
Replies: 2
Views: 959
Posted By ultra vires
ADO class

There is a strange thing going on with my copy of Visual Studio..

the class for ADO isnt there ..
what i mean is that i cant use System.Data.ADO
it simply isnt there ..what do i need to do get ADO...
Forum: Oracle Mar 24th, 2007
Replies: 2
Views: 1,542
Posted By ultra vires
Help Multiple enteries in a same field

Is there a way to store multiple enteries in a same field (Like adding delim's..etc , which would be considered while we are firing queries at them)

Ex: i have a field named subjects.. is is...
Forum: C++ Jul 29th, 2006
Replies: 3
Views: 1,035
Posted By ultra vires
Re: Circles .... Locus...

but doesnt rcos(theta) and .... wrks only for that (0,0) circle ??

well let me try it out...will post back .. (currently wrkin with vb :) )

btw thnx a lot for replyin....
Forum: C++ Jul 29th, 2006
Replies: 3
Views: 1,035
Posted By ultra vires
Circles .... Locus...

My friend just gave me a c++ problem..
well the problem was to make small circles on circumfrence of a big circle that is positioned in the middle of screen...

well i can get that middle of screen...
Forum: VB.NET Jun 16th, 2006
Replies: 1
Views: 1,415
Posted By ultra vires
Help PictureBox + Timer = headache :| (need help)

i was working on an application....(chat based program (server /client))
and i needed that when a particular string is recieved i can activate picturebox for 3 seconds and then disable it (...
Showing results 1 to 40 of 47

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 10:23 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC