CSS problem

2104 byte By rogernem at 2007-11-20 9:00:13
I have a page where I have a header content left, center, right end contentfooterWhen I have my browser at maximum size I have the following- http://www.dev-archive.com/forum/attachment.php?attachmentid=19952 -But when I minimize my browser I have the following- http://www.dev-archive.com/forum/at...

PHP to select item in HTML form

1236 byte By banana_boat at 2007-11-20 9:00:38
Hi, I have written a little form in HTML which has 2 fields, one for the month and the other for the year. The months are populated in the HTML and the years are from a mysql database.When a user selects the options and hits submit some php code processes it and displays an output below the form.Th...

MS-SQL: Average of count with "group by" - statement

387 byte By ddebecke at 2007-11-20 9:00:55
I have a database containing a table "Case", and a table "Session". I want to calculate the average number of sessions per case, but I don't know how to do this.The following code does not work:SELECT AVG(COUNT(Session.SessionID))FROM Case INNER JOIN Session ON Session.CaseID = Case.CaseIDGROUP...

to access a text file on HTTP server from browser using a script

504 byte By pnayaka at 2007-11-20 9:01:00
Hi, i'm coding a HTTP server in C which is an embedded web server to be run on the OMAP board. on a default page when this server is accessed i'm giving an option of information about the processes running on the OMAP board which has other DSP applications running on it other than the...

Strings and NASM - WinXP

449 byte By Zarathu at 2007-11-20 9:01:58
I would like to know what is wrong with this code:[BITS 32] ; Windows XP SP2 32-bitsection .textglobal _main _main: push Command mov eax, 0xAABBCCDD ; address of system() call eax Command: db "echo whatever"Note: This is shellcode, so it's going into a char[] in C. Therefore...

problem with IE 7

474 byte By valentina27 at 2007-11-20 9:02:25
Hi, can you help me?I have a problem with Internet Explorer 7. It can locate cgi file and htmls, but cannot find images and javascript file. They are stored in separate folder from this with html files.<link rel="stylesheet" href="{%=csspath%}/business.css" type="text/css"><img src="{%=imag...

what happens when your server gets mail?

165 byte By code? at 2007-11-20 9:03:37
the title explains the question.<br/>what happens, im using php 5 and apache 2.2.4<br/>and for recieving mail, do you MAINLY set up the php, or the server?

SDF Files

100 byte By Shukla_Girish at 2007-11-20 9:04:10
Hi,<br/>I want to know,How t create(or genrate) sdf files??<br/>Pls reply me asap.<br/>Thanks!!

please this beginner with dts activeX vbscript

1581 byte By airwalker at 2007-11-20 9:04:40
Im using this activeX vbscript to either update or insert depending on if the record already exists in the destination table, it inserts OK, but never updates. Can somebody please help me to see where Im going wrong...many thanks'****************************************************************...

Noob question ><

42 byte By Zarathu at 2007-11-20 9:05:23
What is the '@' sign for in PHP?

Microsoft SQL Server Express Edition

491 byte By miteshpandey at 2007-11-20 9:06:04
Hi,I have many .mdf files generated in Microsoft SQL Server 2000 in another computer.Now I want to view these *.mdf files through the Microsoft SQL Server Express Management Studio. I was unable to Install SQL Server 2000 in my machine because my machine uses Windows XP 2005.Therefore I had to resor...

[RESOLVED] implode - view checkbox value in email

2905 byte By sjcoder07 at 2007-11-20 9:06:33
Hello everyone: I am trying to use implode function to convert checkboxes' value from array format into a single string. Then I send out an email in which to present the value of checkbox selected by user. My problem is a) value displayed in email doesn't go by glue fomat set in implode...

PHP 5 features

198 byte By RajaCode at 2007-11-20 9:07:31
I have PHP Version 4.4.7 on my server. My hosting company are not in a rush to upgrade to PHP 5. I would like to know what PHP 5 features will not work with this version of PHP? <br/>Thanks.

Instead to STDOUT it goes to Apaches error_log!

593 byte By Ipsens at 2007-11-20 9:07:35
Apache has suexec enabled with phpsuexec(each user runs PHP scripts like he, not nobody)PHP is CLI.So I parse php file normally through browser.That php file is executing shell command in like exec($command);Ie: gocr -hNow expected output(which is NOT error), ends up in Apaches error_log!!!Eactly a...

my problem & xml with dom in php

626 byte By monalisa_smile at 2007-11-20 9:07:41
the problem is that there is no problem with the code i don't know what''s happening briefly that i'm making a bbcode using xml and extract it with dom in php ,i made the xml file and extracted it with php but when i use this extraction it says that i have an error in the second...

Getting Browser information

856 byte By RajaCode at 2007-11-20 9:07:43
I have written this code to display a message depending on what browser you are using. However when I use Firefox the message does not display can anyone explain why this does not work?<?php$a = $_SERVER['HTTP_USER_AGENT'];echo $a;//if (strpos($_SERVER['HTTP_USER_AGENT'],...

c# add datagrid column for computed POOM appointment value

612 byte By batterhead at 2007-11-20 9:07:45
hi there,i have a datagrid whose datasource is outlook.appointmenets.items. it can display the appointmenet items as expected. however, i want the datagrid to show an additional column (col3) displaying a computed value. below is an example.col1 col2 col3start ti...

Superfluous lines using fsockopen/fread

1087 byte By Debbie-Leigh at 2007-11-20 9:07:49
Hi,I have a page that sends a post request to another page, which generates some data and echos it back to the first page. It works perfectly on my own machine (windows), but when I put it on the live machine (unix), the request page seems to be having superfluous lines being returned.From my loggin...

[RESOLVED] PHPs time() function...

528 byte By Ipsens at 2007-11-20 9:08:00
After I changed my server time, PHP's time() function still retrieves OLD time, which confuses scripts.All server applications now have 9th July 2007, and PHP is still in 8th July 2007.I did rebooted server.Also... $_SERVER['REQUEST_TIME'] does show VALID time, while PHP's time()...

Deleting Equally?

1009 byte By heffa at 2007-11-20 9:08:17
This was posted in ADO.net as well, Moderators please delete that that thread ( http://www.dev-archive.com/forum/showthread.php?t=428165)Hello,SQL workgroup 2005, I want to delete a bunch of blobs so the DB doesnt outgrow the diskspace. The blobs has various meta-data but I want to delete them based...

select question...

660 byte By DrunkenDisorderly at 2007-11-20 9:08:36
Hi All, Can anyone enlighten me as to what the difference may be between a select... into and a insert select?It may help to know that a temporary table is being created on the select..into statement :select * into #temptablewhere (conditional code here)and immediately after that in the T-SQL scri...

opening Window in new frame

336 byte By shweta1234 at 2007-11-20 9:08:53
Hi all,Can I open a window in a frame?I have tried 2 functions 1. window.open() 2. window.top.location.href =my urlwhich is opening a window in Full screen and I want to open it in Bottom Frame of the page.Is there any other method apart from this where I can specify name of the frame?...

SHLoadImageFile Problem

1824 byte By ninjascutoffheads at 2007-11-20 9:09:50
Currently I am making a program that can open several images(bmp,jpg) and run them in a slideshow for my treo 700w (Windows Mobile 5.0 Pocket PC). I use SHLoadImageFile to open the images. I have no problems opening as many images as I went when I run them on the treo emulator that I run from VS....

Using Echo command to display hyperlink

324 byte By RajaCode at 2007-11-20 9:09:54
How would you create a hyperlink using echo?I want to display this info:Your using Firefox. Have you got the colorful tabs add-on? You can download it here (here is a hyperlink that needs to be formatted in Red and I need to open this in a new browser window)How would you do this using echo?...

about aclidcolumn and idcolumn

310 byte By dummyagain at 2007-11-20 9:10:42
i have read an xml file and I read something like <OBJTYPES><OBJTYPE type="C" table="N_C" historytable="" idcolumn="C_ID" namecolumn="C_NO" aclidcolumn="C_DOC"></OBJTYPE></OBJTYPES>i would like to know what idcolumn and aclidcolumn are.Thank you....

IQ : UNION Problem

881 byte By Raghavendra Prabhu at 2007-11-20 9:10:50
Hi,OS : W2000DB: TimesTen/SYBASE Table1 : 1,2,3,4Table2 : 2,3,5Table3 : 1,2,3,6 Add new row to Table3 which should not exist in Table3 but exist either in Table1 or in Table2if no records exist in Table3 then Table3 will be UNION of Table1 and Table2 i.e (1,2,3,4,5) please anybody suggest me how to...

SQL Statement

1134 byte By massspectrometry at 2007-11-20 9:10:52
Hi there.. Although i know my questions will sound quite stupid, but i've tried n tried n i can't get the desired output.. so here goes...I'm using SQL Server 2000. I have one table call SMSReceived. in that table, there's a lot of columns. But i need to display only 2 column whi...

Concatination

305 byte By maverick786us at 2007-11-20 9:10:53
In SQL Server 2005 how can i concatinate a string with an Integer??for example I have a table named Branch_Details in which there is a field named B_Code which is numeric, and when I use SELECT query I want it to be displayed in B001, B002, B003.........B00n format. How can i accompalish this??...

Adaptive SQL Query

467 byte By Mjdgard at 2007-11-20 9:10:54
I would like to build a search form using different input fields.E.g. : Name, Surname, IDNow, the user does not have to fill in all fields. The empty ones should be neglected. The filled once should be AND-connected for a SQL query.What's the easiest way to do this? Do I really have to check th...

reading files in a tarball with php

333 byte By bobo at 2007-11-20 9:11:09
HelloI need to have php read files in a tarball. I can read the file easily by usingsystem("tar -tf /the/path/to_my/tarball.tar"); and it's working good, but I want to go through every file to have them pass through a test. This is where I can't seem to find any information. Did someone ev...

Create trigger on inserting into another database

222 byte By dummyagain at 2007-11-20 9:11:20
I have two databases named as A and B. After insert content in the table of database A, it will trigger a query on insert the same table of database B. I would like to know how to do it with SQL Server?<br/>Thank you.

Update Trigger Howto

501 byte By dummyagain at 2007-11-20 9:12:14
I am just a very beginner on using trigger. I get 2 databases A and B. When there is update on A, a trigger will be made on updating B.here is the trigger i wrote CREATE trigger update_master_add_charge on master_addition_chargefor updateas update B.master_addition_charge set(acm_desc=?, curr_id=?,...

Same Code but different results

566 byte By sobiaruby at 2007-11-20 9:12:19
I have written a VBScript code which reads account detail from active directory and then relate this information with exchange server and checks the total mailbox size (used) for every user. This works fine in VBScript. But the I have used the same code on a webpage (ASP page). In this scenario, I h...

*** Assembly to implement Cs fprintf(fp,"\n") ***

263 byte By jimmyliao at 2007-11-20 9:12:25
Dear all,<br/>Do anyone know how to implement LF+CR within file processing ?<br/>That is, in C we can use fprintf(fp,"\n") in file. But how to do it in assembly language ?<br/>* In assembly I can create/write/close file.<br/>Thanks in advance ! :)

Ajax vs Flash

354 byte By BlackDragon777 at 2007-11-20 9:13:35
I am not trying to start a debate or anything. However I am very curious as to why anyone should write ajax vs flash. Having used both, it has been my observation that Flash can do everything that Ajax can. Plus you don't have to worry about writing browser specific code as you would using...

Graphical navigation bar

266 byte By C19H28O2 at 2007-11-20 9:13:43
Guys,<br/>I have a navigation bar that was built in photoshop, but i'm a bit stuck on how to get the add the links behind the graphics<br/>This is the image...<br/> http://aycu10.webshots.com/image/22289/2001740120718270559_rs.jpg <br/>Thanks

Closing popup window when another one is opened

846 byte By cedric813 at 2007-11-20 9:13:48
Hi everyone. I have a webpage at: http://www.digitaldisplaydirectories.com/ad_board/left_frame/hotels/hotels_p1.html(Please note: The page will only work properly in IE)I have an issue with popup ads. If you go to my webpage (using IE) and click one of the ads, a popup appears which you can then clos...

[RESOLVED] Line return difference.

875 byte By PeejAvery at 2007-11-20 9:13:52
I just wrote a MySQL dump script and am almost done with the importation script. I have run into a minor problem. In order to ignore all lines that start with "--" I use a regular expression to split by -- and line returns.$contents = preg_replace('/--(.*?)[\n\r]/', '', $contents...

displaying contents of a page in a certain order

1529 byte By cedric813 at 2007-11-20 9:14:09
Hi. The code below is a web page popup that I am trying to get to work. The first section displays the picture: pic_hotels_p1_1.jpg. The second section displays the contents of the file: price_hotels_p1_1.txt using php. The third section is a counter which sends a message to the file: counter.php us...

JavaScript IP Detection

363 byte By 7Priest7 at 2007-11-20 9:15:24
I keep finding this var ip = '<!--#echo var="REMOTE_ADDR"-->';It doesent work!!!I need JavaScript IP detection that works!!I thought there would be some kind of variable like navigator.something.anotherBut I can't find it...Maybe some1 will know??Please HelpAlex...

Ajax with PHP

2019 byte By Donotalo at 2007-11-20 9:15:52
I'm trying to write the server side script in PHP. The following code is supposed to show the value returned by time() inside a text box. But it is not doing that. Where is the problem?Client Side Ajax Script:<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTM...

How to create hash clustered index in oracle?

168 byte By Mushq at 2007-11-20 9:16:15
Hi,<br/>How can i create hash clustered index in oracle? <br/>Best Regards,<br/>Mushq<br/>Mushtaque Ahmed Nizamani<br/>Software Engineer <br/>Ultimus Pakistan

return column name with result

273 byte By saipkjai at 2007-11-20 9:16:36
hi<br/> I'm having problem with retriving the column name with the result I got from the stored procedure. Since I was using a variable to save down the result I got, Is there a way to return the column name that the result are from with the actual result I got?

PHP Failing to get the file...

739 byte By 7Priest7 at 2007-11-20 9:17:03
The code is not getting the file...It is supposed to put the file into an array but fails...I Have tryed fixing it for soooooo long but to no avail...Please help<?php$file = fopen("guests.txt","w+");$Lines = array();while (!feof($file)) $Lines[] = fgets($file);if(!in_array("Name: {$_GET['na...

how to create Multi values field

296 byte By pragashan at 2007-11-20 9:17:12
I want to create a table with 5 fields. there is 1 field has multi values. how to write the sql code for that.<br/>for example :<br/>1) Field Name "Gender" It has two values "Male" & "Female"<br/>or<br/>2) Field Name "Group" It has three values "Home", "Office" and "Personal"

list the possible connection b/w the objects in 2 different server

319 byte By pavandesai at 2007-11-20 9:17:14
in first server 2 objects are A,B, and in second server 3 objects A,B,C. How to list the possible connection b/w the objects in server1 & server 2 using PERL scriptThe ouput expected as (A,A)(A,B)(A,C)(B,A)(B,B)(B,C)please post the code f you have, it helps me modify mine.ThanksPavan...

Basic table and SQL help . . .

1959 byte By root729 at 2007-11-20 9:17:45
Hi all,I am really new to MySQL and php and need some help understanding the best way to organise some data.The way I have set it up is not working for me, it may be because I have designed the table incorrectly or I do not know the correct way to pull the data back out with sql.So . . The 2 tables...

Class Code not working

1015 byte By RajaCode at 2007-11-20 9:18:28
Can anyone explain this error message? I get the following error :Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VARThe code is :<?php class monitor { private $Brand; public $Size; pu...

PHP MYSQL Connection

835 byte By kimoo at 2007-11-20 9:18:37
hello everyone,i got a small problem with mysql php connection i try the following php code but nothing happens other than just showing the first echo "i am here".Is there something wrong with the code below or am i supposed to make some special settings to connect PHP with MYSQL locally?<?phpech...

Learning perl, need some help.

1285 byte By band-aid at 2007-11-20 9:19:05
I am using a tutorial I found on the internet to learn perl and at the end of each chapter it gives you some practice problems. I just completed the chapter on arrays and lists and the problem is this.Write a program that reads lines of input containing numbers, each of which isseparated by exactly...