268 Discussion / Question Topics

Remove Filter
Member Avatar for
Member Avatar for akgreen

I have spent a lot of time on this question, namely, how to programatically use a PHP script to send a PDF document to the printer without launching the Adobe print dialog that results from using arcord32.exe (the adobe reader). PHP has some useful classes for creating PDF's, i.e., the …

Member Avatar for Yogesh_22
7
22K
Member Avatar for Saran_1

I have scoured Stack over flow and the Pandas documentation for a solution to this issue. I am attempting to recursively move through a directory and concatenate all of the headers and their respective row values. Below is what I have so far after much experimentation with other libraries: import …

Member Avatar for m_26
0
18K
Member Avatar for tadisaus2

Hello, I use gsitecrawler to create sitemap for my websites. Are there any tool to create a sitemap better than gsitecrawler? I learned from this forum that if we have a sitemap on each site, it is good for SEO. My other question is, gsitecrawler creates a sitemap and I …

Member Avatar for Sarah_27
0
541
Member Avatar for jewelraz

My own web directory is now PR 1. Earlier it was unranked. So, you guys are welcome to submit your website link to my directory. But remember to read the "Rules and Regulation" before posting and don't spam or your post will never be published. In "full description" body of …

Member Avatar for Paul_49
-1
682
Member Avatar for A_6

Online file hosting. I click "Upload File". I select correct file. I click "Open". File gets uploaded. I log out. What else does hosting get to know? (besides name, modification timestamp, creation timestamp, content, extension and length of upload file etc.) Assuming running Linux Ubuntu/Arch/Whatever, on Mozilla Firefox or any …

Member Avatar for Reverend Jim
0
340
Member Avatar for Corey_3

I am attempting an extra credit assignment for a summer course. The question says : "Modify the client.c and server.c program from Assignment 1 to add the following function: when the client connects to the server, the client provides the name of a directory D to be retrieved in the …

Member Avatar for Gribouillis
0
686
Member Avatar for Sadiq_2

Good day ,wish to know how to upload multiple image files with multiple inputs and multiple directories. My code is <table border="1px" width="100%"> <tr><td colspan="3" style="background-color:#E8E8E8"><b>Supporting documents upload</b></td></tr> <tr><td> </td><td colspan="3"><input style="height:35px;" type="file" name="pri" required ></td></tr> <tr><td> </td><td colspan="3"><input style="height:35px;" type="file" name="oresult" required ></td></tr> <tr><td> </td><td colspan="3"><input style="height:35px;" type="file" name="oresult2" required ></td></tr> <tr><td> </td><td …

Member Avatar for series
0
2K
Member Avatar for Seung Hwan

This is php code at https://developers.google.com/maps/articles/phpsqlajax_v3#putting-it-all-together. <?php $username="xxxx"; $password="xxx"; $database="xxx"; ?> <?php function parseToXML($htmlStr) { $xmlStr=str_replace('<','&lt;',$htmlStr); $xmlStr=str_replace('>','&gt;',$xmlStr); $xmlStr=str_replace('"','&quot;',$xmlStr); $xmlStr=str_replace("'",'&#39;',$xmlStr); $xmlStr=str_replace("&",'&amp;',$xmlStr); return $xmlStr; } // Opens a connection to a MySQL server $connection=mysql_connect ('localhost', $username, $password); if (!$connection) { die('Not connected : ' . mysql_error()); } // Set the active MySQL …

Member Avatar for jacks009
0
464
Member Avatar for Tidra

Hi guys i'm trying to do a programm for school.I have to create something using " semaphore " and i solved it using "#include <sys/sem.h>". Now i'm trying to make this work on Windows 8.I have done many exercises here and they worked,but now there is a message of error: …

Member Avatar for rproffitt
0
258
Member Avatar for mabdullah4

Why This Program is not Changing Directory from C:/ to H: Drive or D: Drive. #include<iostream> using namespace std; int main(int a,char *b[]) { int option; cout<<endl<<"Enter 2 for 2nd Semster Programs "<<endl; cout<<endl<<"Enter 3 for 3rd Semster Programs "<<endl; cin>>option; if(option==2) { system("D:"); system("explorer ."); } else if(option==3) { …

Member Avatar for AssertNull
0
359
Member Avatar for rowen_1

I am new to php. I encountered the following errors. Warning: require_once(/dbtest/db_connect.php): failed to open stream: No such file or directory in C:\xampp\htdocs\dbtest\connect.php on line 2 Fatal error: require_once(): Failed opening required 'dbtest/db_connect.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\dbtest\connect.php on line 2 I am very sure I have db_connect.php file inside my dbtest …

Member Avatar for RudyM
0
2K
Member Avatar for gugushe

fatal error: pwd.h: no such file or directory, I got this error when trying my code when using the following library #include<pwd.h>

Member Avatar for AssertNull
0
226
Member Avatar for toxicandy

I have a question regarding user membership of groups in Active directory and grabbing such memberships with PHP. My big question/situation is that I have a site I am making and essentially I am trying to assign administrators based off of groups in Active directory and I know how to …

0
211
Member Avatar for Shane_Warne

Hi all, Can you please tell me if there is a bash command in UNIX that is similar in functionality to XCOPY in Windows? XCOPY can copy who directory trees from a source folder to a destination folder, but from what I saw about the cp command in bash, it …

Member Avatar for davidchengnoc
2
3K
Member Avatar for Marco_4

Hello, I'm having trouble uploading all the various data to the database, can you help? The code is this, I have done some testing but the original image and thumbnail are loaded properly in the directory, but all the data are not passed to the database. What is the correct …

Member Avatar for hericles
0
291
Member Avatar for sukesh55555

HI.... im new to php, i ve a doubt. i want source code in php for the requirement as traited below. im creating a registration form with two image file uploading system. I need a source code in such way that, the inputs NAME, AGE, MOBILE NUMBER, image upload(ONE), image …

Member Avatar for rproffitt
0
341
Member Avatar for mpdph09

I am working with windows application, I have pictureBox to load image from the directory. I am trying to get some idea how can I display magnified image of particular area depending on the coordinates of that specific area on textbox focus.

Member Avatar for mpdph09
0
469
Member Avatar for Tcll

Basically, I'm working with zipimport to load plugins. These plugins contain binary modules which can only be loaded via retrieving their data. Copying them to a temporary directory is stupid, so how can I get a handle to a dynamic process which I can inject the stream into before it's …

Member Avatar for Tcll
0
319
Member Avatar for mmcdonald

Hi all, I'm building a multi-tenant web application in PHP which is hosted on a dedicated Ubuntu 14.04 server (LAMP). I'm trying to figure out the simplest method of allowing my customers (SME's) to connect the application to their active directory server to authenticate users. The only issue is, I …

Member Avatar for jay56
0
241
Member Avatar for Joseph_18

I was able to get the ComboBox to load a list of files from a directory. but, now i am trying to get the contents of that file output to a TextBox or richTextBox. I am able to use this to output to another ComboBox(however, this is not what i …

Member Avatar for tinstaafl
0
294
Member Avatar for Iamateur

I am going through .net book. I happen to read that once we are storing the web form in asp.net ,it automatically shows local host path in save directory. But in my computer I don't see local host path. It shows the usual vb.net installed folder in C directory and …

Member Avatar for hericles
0
344
Member Avatar for Emma Carter

Actually, I'm doing Directory Submission, Social Bookmarking, Blog Commenting, Article Submission and UGCS for building backlinks. Is there any other valid techniques available for building backlinks?

Member Avatar for Tarini
1
2K
Member Avatar for loserspearl

I am trying to make a Java program that uses a tree to collect folder and file information about a directory and display it to the user. Essentially a java version of the tree DOS command. The user inputs a path to a folder and the command window will spit …

Member Avatar for JamesCherrill
0
412
Member Avatar for Joseph026
Member Avatar for almostbob
0
211
Member Avatar for Sherwin Paul

Hi Expert, would it be possible to list all the current active Domain equivalent Active Directory in a network? Hoping to here from you. Thanks.

Member Avatar for Sherwin Paul
0
184
Member Avatar for Jonah_1

I am creating a text editor on a Mac and am having trouble with file saving. I can open, save as and save files but the save function stops working after I call `self.close`. I get this error: Exception in Tkinter callback Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/Tkinter.py", line …

Member Avatar for Gribouillis
0
2K
Member Avatar for jwausi

Hi, Am developing my website using codeigniter and got stuck when i tried to make the backend. Am using CMS backend that comes with its own folder with everything (.htaccess, its own MVC etc) so I put all my frontend folders into one folder called frontend withinn the application folder …

Member Avatar for diafol
0
4K
Member Avatar for choeychoco

Good day everyone. i have a vb6 program that attaches files in my database having an attachment field named ATTACHFILE. Saving files works fine but i cant upload/save file to a selected directory. I have the following code below . I was able to save it to my spcefied directory …

0
178
Member Avatar for eman neercs

I'm trying to run a python script from the cron but get the error "No module named requests" Traceback (most recent call last): File "testscript.py", line 2, in <module> import requests ImportError: No module named requests The script will run from the console but not through a cron job. I …

Member Avatar for eman neercs
0
5K
Member Avatar for shany0786

This may appear as child problem but i have confusion about this When we document Root what this means?? I am creating directory strucure for framework eg this is directory structure from code tutsplus `----public Document root where public files are accessed -css -images -content -js ------ Resources -library -template …

Member Avatar for shany0786
0
381

The End.