473,756 Members | 2,996 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Win AP question

Hi al

I have an interesting question.... I am working witha Win API this is the Function
Public Declare Function EnumJobs Lib "winspool.d rv" Alias "EnumJobsA" (ByVal hPrinter As Long, ByVal FirstJob As Long, ByVal NoJobs As Long, ByVal Level As Long, pJob As Byte, ByVal cdBuf As Long, pcbNeeded As Long, pcReturned As Long) As Lon

Which I got from the API viewer that comes with VB 6. I have tried to convert it to the following

[DllImport("wins pool.drv")
public static extern long EnumJobs(long hPrinter,long FirstJob,long NoJobs,long Level,ref JOB_INFO_1 jInfo,long cdBuf,long pcbNeeded,long pcReturned )

however i think I may have gotten a few things wrong, which I am hoping someone will be able to correct me

1. In the Declare statement there is a parameter that is : pJob As Byte and I've even seen it as : pJob As An
Now my question is that can I pass my struct(JOB_INFO _1) in there? even though the datatype it wants is byte, can I still pass the struct in there? How do i get my struct popultaed from this call, when it accepts a byte? do i need to do anything with how I created my strcut, this is my sample code of the strcut declaration
[StructLayout(La youtKind.Sequen tial)
public struct JOB_INFO_1

public long JobId
public string pPrinterName
public string pMachineName
public string pUserName;
public string pDocument;
public string pDatatype;
public string pStatus;
public long Status;
public long Priority
public long Position;
public long TotalPages;
public long PagesPrinted;
public SYSTEMTIME Submitted
[StructLayout(La youtKind.Sequen tial)
public struct SYSTEMTIM

public int wYear
public int wMonth
public int wDayOfWeek
public int wDay
public int wHour
public int wMinute
public int wSecond
public int wMilliseconds
2. If ever I see another winAPI that accepts a datatype of "Any" what do I know what is "supposed to get there"

Thanks for any hel
Kevi
Nov 16 '05 #1
7 5532
On 2004-04-16, Kevin <an*******@disc ussions.microso ft.com> wrote:
Hi all

I have an interesting question.... I am working witha Win API this is the Function:
Public Declare Function EnumJobs Lib "winspool.d rv" Alias "EnumJobsA" (ByVal hPrinter As Long, ByVal FirstJob As Long, ByVal NoJobs As Long, ByVal Level As Long, pJob As Byte, ByVal cdBuf As Long, pcbNeeded As Long, pcReturned As Long) As Long

Which I got from the API viewer that comes with VB 6. I have tried to convert it to the following:

[DllImport("wins pool.drv")]
public static extern long EnumJobs(long hPrinter,long FirstJob,long NoJobs,long Level,ref JOB_INFO_1 jInfo,long cdBuf,long pcbNeeded,long pcReturned );

however i think I may have gotten a few things wrong, which I am hoping someone will be able to correct me.

1. In the Declare statement there is a parameter that is : pJob As Byte and I've even seen it as : pJob As Any
Now my question is that can I pass my struct(JOB_INFO _1) in there? even though the datatype it wants is byte, can I still pass the struct in there? How do i get my struct popultaed from this call, when it accepts a byte? do i need to do anything with how I created my strcut, this is my sample code of the strcut declaration :
[StructLayout(La youtKind.Sequen tial)]
public struct JOB_INFO_1
{
public long JobId;
public string pPrinterName;
public string pMachineName;
public string pUserName;
public string pDocument;
public string pDatatype;
public string pStatus;
public long Status;
public long Priority;
public long Position;
public long TotalPages;
public long PagesPrinted;
public SYSTEMTIME Submitted;
}

[StructLayout(La youtKind.Sequen tial)]
public struct SYSTEMTIME
{
public int wYear;
public int wMonth;
public int wDayOfWeek;
public int wDay;
public int wHour;
public int wMinute;
public int wSecond;
public int wMilliseconds;
}

2. If ever I see another winAPI that accepts a datatype of "Any" what do I know what is "supposed to get there"?

Thanks for any help
Kevin


[StructLayout(La youtKind.Sequen tial)]
public struct SYSTEMTIME
{
public short wYear;
public short wMonth;
public short wDayOfWeek;
public short wDay;
public short wHour;
public short wMinute;
public short wSecond;
public short wMilliseconds;
}

[StructLayout(La youtKind.Sequen tial, CharSet=CharSet .Auto)]
public struct JOB_INFO_1
{
public int JobId;
public string pPrinterName;
public string pMachineName;
public string pUserName;
public string pDocument;
public string pDatatype;
public string pStatus;
public int Status;
public int Priority;
public int Position;
public int TotalPages;
public int PagesPrinted;
public SYSTEMTIME Submitted;
}

[DllImport("wins pool.drv", CharSet=CharSet .Auto)]
public static extern int EnumJobs(
System.IntPtr hPrinter,
int FirstJob,
int NoJobs,
int Level,
ref JOB_INFO_1[] jInfo,
int cdBuf,
out int pcbNeeded,
out int pcReturned);

The above is untested, but would be my first cut based on the msdn
documentation. Some things you need to remember... In VB6, a Long is a
32-bit integer. In C#, a long is a 64-bit integer. That means, you
should translate VB6 into C# int's. VB6 Integer is 16-bit that's
equivalent to C#'s short.

You may want to read the documentation on P/Invoke.

--
Tom Shelton [MVP]
Powered By Gentoo Linux 1.4
I've never been canoeing before, but I imagine there must be just a few
simple heuristics you have to remember...

Yes, don't fall out, and don't hit rocks.
Nov 16 '05 #2
I have a follow-up question:

What to do when the type of struct depends on some other input parameter?
Specifically, I need to call a Win32 API function called GetTapeParamete rs.

I written this:

[DllImport("kern el32"), SetLastError=tr ue]
static extern int GetTapeParamete rs(
IntPtr hTape,
int dwOperation,
??? lpTapeInformati on
)

The problem is that lpTapeInformati on should point to different kinds of
structs depending on the value for dwOperation (dwOperation
GET_TAPE_MEDIA_ INFORMATION implies a TAPE_GET_MEDIA_ PARAMETERS struct,
whereas dwOperation GET_TAPE_DRIVE_ INFORMATION implies a
TAPE_GET_DRIVE_ PARAMETERS struct). Therefore, I can't simply put ref
<struct-type> lpTapeInformati on...

Any help would be much appreciated!

- Einar
Nov 16 '05 #3
On 2004-04-16, Einar Høst <_e*******@hotm ail.com> wrote:
I have a follow-up question:

What to do when the type of struct depends on some other input parameter?
Specifically, I need to call a Win32 API function called GetTapeParamete rs.

I written this:

[DllImport("kern el32"), SetLastError=tr ue]
static extern int GetTapeParamete rs(
IntPtr hTape,
int dwOperation,
??? lpTapeInformati on
)

The problem is that lpTapeInformati on should point to different kinds of
structs depending on the value for dwOperation (dwOperation
GET_TAPE_MEDIA_ INFORMATION implies a TAPE_GET_MEDIA_ PARAMETERS struct,
whereas dwOperation GET_TAPE_DRIVE_ INFORMATION implies a
TAPE_GET_DRIVE_ PARAMETERS struct). Therefore, I can't simply put ref
<struct-type> lpTapeInformati on...

Any help would be much appreciated!

- Einar


You can declare the function once for each struct type (basically you can overload it)...
Or, you can use unsafe code, and pass the value as you would in C.

--
Tom Shelton [MVP]
Powered By Gentoo Linux 1.4
"Ah, " said Arthur, "this is obviously some strange usage
of the word safe that I wasn't previously aware of. "
Nov 16 '05 #4

"Tom Shelton" <to*@mtogden.co m> wrote in message
news:Og******** ******@TK2MSFTN GP12.phx.gbl...
On 2004-04-16, Einar Høst <_e*******@hotm ail.com> wrote:
I have a follow-up question:

What to do when the type of struct depends on some other input parameter? Specifically, I need to call a Win32 API function called GetTapeParamete rs.
I written this:

[DllImport("kern el32"), SetLastError=tr ue]
static extern int GetTapeParamete rs(
IntPtr hTape,
int dwOperation,
??? lpTapeInformati on
)

The problem is that lpTapeInformati on should point to different kinds of
structs depending on the value for dwOperation (dwOperation
GET_TAPE_MEDIA_ INFORMATION implies a TAPE_GET_MEDIA_ PARAMETERS struct,
whereas dwOperation GET_TAPE_DRIVE_ INFORMATION implies a
TAPE_GET_DRIVE_ PARAMETERS struct). Therefore, I can't simply put ref
<struct-type> lpTapeInformati on...

Any help would be much appreciated!

- Einar
You can declare the function once for each struct type (basically you can

overload it)... Or, you can use unsafe code, and pass the value as you would in C.


Hi Tom, thanks for your reply.

I just discovered that, like you say, you can overload the function. My C
skills are rather poor (I've never done Petzold-style Windows
programming...) , so I really wouldn't know how to pass the value using
unsafe code. If you got time on your hands, would you mind typing in a small
sample?

Thanks!
Nov 16 '05 #5
Hi To

Thanks for the help, I really appreciate it, Will check it out today to see if I get the results I want :

Regard
Kevin
Nov 16 '05 #6
OK Tom this is my code so fa

using System
using System.Drawing
using System.Collecti ons
using System.Componen tModel
using System.Windows. Forms
using System.Data
using System.Runtime. InteropServices

namespace SlyPrintMo

/// <summary
/// Summary description for Form1
/// </summary
///

public class Form1 : System.Windows. Forms.For

//Declare all Constants her
public const short CCHDEVICENAME = 32
public const short CCHFORMNAME = 32

//end of constant declaration

//Declare all structs her
[StructLayout(La youtKind.Sequen tial,CharSet=Ch arSet.Auto)
public struct PRINTER_DEFAULT

string pDatatype
DEVMODE pDevMode
int DesiredAccess

[StructLayout(La youtKind.Sequen tial,CharSet=Ch arSet.Auto)
public struct DEVMOD

string dmDeviceName; // * CCHDEVICENAME
short dmSpecVersion;
short dmDriverVersion
short dmSize;
short dmDriverExtra
int dmFields
short dmOrientation
short dmPaperSize
short dmPaperLength
short dmPaperWidth
short dmScale
short dmCopies
short dmDefaultSource
short dmPrintQuality;
short dmColor;
short dmDuplex;
short dmYResolution
short dmTTOption;
short dmCollate
string dmFormName; // * CCHFORMNAME
short dmUnusedPadding
int dmBitsPerPel
int dmPelsWidth
int dmPelsHeight;
int dmDisplayFlags;
int dmDisplayFreque ncy
[StructLayout(La youtKind.Sequen tial,CharSet=Ch arSet.Auto)
public struct JOB_INFO_1

public int JobId
public string pPrinterName
public string pMachineName
public string pUserName;
public string pDocument;
public string pDatatype;
public string pStatus;
public int Status;
public int Priority
public int Position;
public int TotalPages;
public int PagesPrinted;
public SYSTEMTIME Submitted
[StructLayout(La youtKind.Sequen tial)
public struct SYSTEMTIM

public short wYear
public short wMonth
public short wDayOfWeek
public short wDay
public short wHour
public short wMinute
public short wSecond
public short wMilliseconds
//end of struct declaration

private System.Componen tModel.IContain er components
[DllImport("wins pool.drv",CharS et=CharSet.Auto )
public static extern int OpenPrinter(str ing pPrinterName, out System.IntPtr phPrinter, PRINTER_DEFAULT S pd)
[DllImport("wins pool.drv")
public static extern int ClosePrinter(in t hPrinter)
[DllImport("wins pool.drv",CharS et=CharSet.Auto )
public static extern int EnumJobs(int hPrinter,int FirstJob,int NoJobs,int Level,ref JOB_INFO_1 jInfo,int cdBuf,out int pcbNeeded,out int pcReturned )

public Form1(

/
// Required for Windows Form Designer suppor
/
InitializeCompo nent()
System.IntPtr hPrinter
int lNeeded =0
int lReturned = 0
PRINTER_DEFAULT S pDef = new PRINTER_DEFAULT S()
OpenPrinter("OP TRAE",out hPrinter,pDef)
JOB_INFO_1 jInfo = new JOB_INFO_1()
EnumJobs((int)h Printer,0,99,1, ref jInfo,0,out lNeeded, out lReturned)
if (lNeeded>0)

EnumJobs((int)h Printer,0,99,1, ref jInfo, lNeeded, out lNeeded,out lReturned)
Console.WriteLi ne(jInfo.pUserN ame + " : " + jInfo.TotalPage s)


/
// TODO: Add any constructor code after InitializeCompo nent cal
/
/// <summary
/// Clean up any resources being used
/// </summary
protected override void Dispose( bool disposing

if( disposing

if (components != null)

components.Disp ose()
base.Dispose( disposing )
#region Windows Form Designer generated cod
/// <summary
/// Required method for Designer support - do not modif
/// the contents of this method with the code editor
/// </summary
private void InitializeCompo nent(

this.components = new System.Componen tModel.Containe r()

//
// Form
//
this.AutoScaleB aseSize = new System.Drawing. Size(5, 13)
this.ClientSize = new System.Drawing. Size(488, 357)
this.Name = "Form1"
this.Text = "Form1"
#endregio

/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.Run (new Form1());
}

}
}
Now when I run it I can't even get it to give me a handle to the printer:( the hPrinter variable just stays at 0

Any suggestions?

Kevin
Nov 16 '05 #7
Hi,

First of all lets look at the c sign :

BOOL EnumJobs(
HANDLE hPrinter, // handle to printer object
DWORD FirstJob, // index of first job
DWORD NoJobs, // number of jobs to enumerate
DWORD Level, // information level
LPBYTE pJob, // job information buffer
DWORD cbBuf, // size of job information buffer
LPDWORD pcbNeeded, // bytes received or required
LPDWORD pcReturned // number of jobs received
);

After reading the information you'll see that pJob should be a buffer large
enough to hold all structs *plus* the data the struct points to (string
data). (There are other api's which uses this "strategy" too)

This means that you can't just pass an array of structs. You must supply
memory which is large enough for the structs and the string data. In memory
it would be something like :
struct1
struct2
struct3
all other data where the structs point to (eg. string data)

So, we declare it in c# as follow :

[DllImport("wins pool.drv", CharSet=CharSet .Auto)]
public static extern int EnumJobs(
IntPtr hPrinter,
int FirstJob,
int NoJobs,
int Level,
IntPtr pInfo,
int cdBuf,
out int pcbNeeded,
out int pcReturned);

pInfo is an IntPtr which we can point to allocated memory. One of the
problems of the used "strategy" is that you can't easily know who many bytes
you will need, you can't do NoJobs*sizeof(j ob_info_1) because there is
additional memory needed as explained.

You can guess the memory needed and if it fails you can try with more
memory. There is a better way : call the function first with cdBuf=0 then
it will return the bytes required in pcbNeeded.

Once you know the bytes needed, you can allocate memory with
(Marshal.AllocH Global), then you can call the function again with cdBuf set
to the last return pcbNeeded. Now the memory will be filled with structs
and extra data. You can then use Marshal.PtrToSt ruct to marshal these
struct into managed memory (it will also marshal the extra data because the
struct members point to it). After this you clean up unmanaged memory
(Marshal.FreeHG lobal).

Example : (!!You need to use the corrected structs by Tom)

[DllImport("wins pool.drv", CharSet=CharSet .Auto)]
public static extern bool OpenPrinter( string pPrinterName, out IntPtr
phPrinter, IntPtr pDefault );

[DllImport("wins pool.drv", CharSet=CharSet .Auto)]
public static extern bool ClosePrinter( IntPtr hPrinter // handle to printer
object );

[DllImport("wins pool.drv", CharSet=CharSet .Auto)]
public static extern int EnumJobs( IntPtr hPrinter, int FirstJob, int
NoJobs, int Level, IntPtr pInfo, int cdBuf, out int pcbNeeded, out int
pcReturned);

public void test()
{
IntPtr handle;
int FirstJob = 1;
int NumJobs = 2;
int pcbNeeded;
int pcReturned;

// open printer
OpenPrinter ( @\\server1\psc7 50, out handle, IntPtr.Zero );

// get num bytes required
EnumJobs ( handle, FirstJob, NumJobs, 1, IntPtr.Zero, 0, out pcbNeeded,
out pcReturned);

// allocate unmanaged memory
IntPtr pData = Marshal.AllocHG lobal ( pcbNeeded );

// get structs
EnumJobs ( handle, FirstJob, NumJobs, 1, pData, pcbNeeded, out
pcbNeeded, out pcReturned);

// create array of managed job structs
JOB_INFO_1 [] jobs = new JOB_INFO_1[pcReturned];

// marshal struct to managed
int pTemp = pData.ToInt32() ; //start pointer
for (int i=0; i<pcReturned; ++i)
{
jobs[i] = (JOB_INFO_1) Marshal.PtrToSt ruct( new IntPtr(pTemp),
typof(JOB_INFO_ 1) );
pTemp+= Marshal.SizeOf( typeof (JOB_INFO_1 );
}

// cleanup unmanaged memory
Marshal.FreeHGl obal ( pData );

// close printer
ClosePrinter ( handle );

// printer jobs are in the jobs array
}

HTH,
greetings

"Kevin" <an*******@disc ussions.microso ft.com> wrote in message
news:20******** *************** ***********@mic rosoft.com...
Hi all

I have an interesting question.... I am working witha Win API this is the Function: Public Declare Function EnumJobs Lib "winspool.d rv" Alias "EnumJobsA" (ByVal hPrinter As Long, ByVal FirstJob As Long, ByVal NoJobs As Long, ByVal
Level As Long, pJob As Byte, ByVal cdBuf As Long, pcbNeeded As Long,
pcReturned As Long) As Long
Which I got from the API viewer that comes with VB 6. I have tried to convert it to the following:
[DllImport("wins pool.drv")]
public static extern long EnumJobs(long hPrinter,long FirstJob,long NoJobs,long Level,ref JOB_INFO_1 jInfo,long cdBuf,long pcbNeeded,long
pcReturned );
however i think I may have gotten a few things wrong, which I am hoping someone will be able to correct me.
1. In the Declare statement there is a parameter that is : pJob As Byte and I've even seen it as : pJob As Any Now my question is that can I pass my struct(JOB_INFO _1) in there? even though the datatype it wants is byte, can I still pass the struct in there?
How do i get my struct popultaed from this call, when it accepts a byte? do
i need to do anything with how I created my strcut, this is my sample code
of the strcut declaration : [StructLayout(La youtKind.Sequen tial)]
public struct JOB_INFO_1
{
public long JobId;
public string pPrinterName;
public string pMachineName;
public string pUserName;
public string pDocument;
public string pDatatype;
public string pStatus;
public long Status;
public long Priority;
public long Position;
public long TotalPages;
public long PagesPrinted;
public SYSTEMTIME Submitted;
}

[StructLayout(La youtKind.Sequen tial)]
public struct SYSTEMTIME
{
public int wYear;
public int wMonth;
public int wDayOfWeek;
public int wDay;
public int wHour;
public int wMinute;
public int wSecond;
public int wMilliseconds;
}

2. If ever I see another winAPI that accepts a datatype of "Any" what do I know what is "supposed to get there"?
Thanks for any help
Kevin

Nov 16 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3098
by: Mohammed Mazid | last post by:
Can anyone please help me on how to move to the next and previous question? Here is a snippet of my code: Private Sub cmdNext_Click() End Sub Private Sub cmdPrevious_Click() showrecord
3
5041
by: Stevey | last post by:
I have the following XML file... <?xml version="1.0"?> <animals> <animal> <name>Tiger</name> <questions> <question index="0">true</question> <question index="1">true</question> </questions>
7
2662
by: nospam | last post by:
Ok, 3rd or is it the 4th time I have asked this question on Partial Types, so, since it seems to me that Partial Types is still in the design or development stages at Microsoft, I am going to ask it differently. FOUR QUESTIONS: The background: I got three (3) files
3
3090
by: Ekqvist Marko | last post by:
Hi, I have one Access database table including questions and answers. Now I need to give answer id automatically to questionID column. But I don't know how it is best (fastest) to do? table before rowID answID qryrow questionID datafield 1591 12 06e 06e 06e question 1593 12 06f 06f 06f question 1594 12 answer to the question 06f
10
3439
by: glenn | last post by:
I am use to programming in php and the way session and post vars are past from fields on one page through to the post page automatically where I can get to their values easily to write to a database or continue to process on to the next page. I am now trying to learn ASP to see if we can replace some of our applications that were written in php with an ASP alternative. However, after doing many searches on google and reading a couple...
10
3734
by: Rider | last post by:
Hi, simple(?) question about asp.net configuration.. I've installed ASP.NET 2.0 QuickStart Sample successfully. But, When I'm first start application the follow message shown. ========= Server Error in '/QuickStartv20' Application. -------------------------------------------------------------------------------- Configuration Error Description: An error occurred during the processing of a configuration file
53
4089
by: Jeff | last post by:
In the function below, can size ever be 0 (zero)? char *clc_strdup(const char * CLC_RESTRICT s) { size_t size; char *p; clc_assert_not_null(clc_strdup, s); size = strlen(s) + 1;
56
4791
by: spibou | last post by:
In the statement "a *= expression" is expression assumed to be parenthesized ? For example if I write "a *= b+c" is this the same as "a = a * (b+c)" or "a = a * b+c" ?
2
4283
by: Allan Ebdrup | last post by:
Hi, I'm trying to render a Matrix question in my ASP.Net 2.0 page, A matrix question is a question where you have several options that can all be rated according to several possible ratings (from less to more for example). I have a question object that has two properties that contain the collections Options and Ratings. now I want this kind of layout: --- Rating1 Rating2 Rating3 Option 1 () () ...
3
2551
by: Zhang Weiwu | last post by:
Hello! I wrote this: ..required-question p:after { content: "*"; } Corresponding HTML: <div class="required-question"><p>Question Text</p><input /></div> <div class="not-required-question"><p>Question Text</p><input /></div>
0
9255
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10014
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9844
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9689
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8688
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6514
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5289
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3780
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3326
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.